Skip to content

Commit

Permalink
Don't spam logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuraag Agrawal committed Jun 26, 2021
1 parent 4ecc35c commit 2254dd7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public SamplingResult shouldSample(
// In practice, X-Ray always returns a Default rule that matches all requests so it is a bug in
// our code or X-Ray to reach here, fallback just in case.
logger.log(
Level.WARNING,
Level.FINE,
"No sampling rule matched the request. "
+ "This is a bug in either the OpenTelemetry SDK or X-Ray.");
return fallbackSampler.shouldSample(
Expand Down

0 comments on commit 2254dd7

Please sign in to comment.