diff --git a/aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/strategy/sampling/pollers/RulePoller.java b/aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/strategy/sampling/pollers/RulePoller.java index 98842a8b..bb2ee9e2 100644 --- a/aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/strategy/sampling/pollers/RulePoller.java +++ b/aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/strategy/sampling/pollers/RulePoller.java @@ -71,7 +71,7 @@ public void start() { try { pollRule(); } catch (Throwable t) { - logger.error("Encountered error polling GetSamplingRules: ", t); + logger.info("Encountered error polling GetSamplingRules: ", t); // Propagate if Error so executor stops executing. // TODO(anuraaga): Many Errors aren't fatal, this should probably be more restricted, e.g. // https://github.com/openzipkin/brave/blob/master/brave/src/main/java/brave/internal/Throwables.java diff --git a/aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/strategy/sampling/pollers/TargetPoller.java b/aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/strategy/sampling/pollers/TargetPoller.java index 223167ce..50991548 100644 --- a/aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/strategy/sampling/pollers/TargetPoller.java +++ b/aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/strategy/sampling/pollers/TargetPoller.java @@ -66,7 +66,7 @@ public void start() { try { pollManifest(); } catch (Throwable t) { - logger.error("Encountered error polling GetSamplingTargets: ", t); + logger.info("Encountered error polling GetSamplingTargets: ", t); // Propagate if Error so executor stops executing. // TODO(anuraaga): Many Errors aren't fatal, this should probably be more restricted, e.g. // https://github.com/openzipkin/brave/blob/master/brave/src/main/java/brave/internal/Throwables.java