Reduce unnecessarily verbose debug logging (#318)

This commit is contained in:
Trask Stalnaker 2020-04-14 10:30:21 -07:00 committed by GitHub
parent aa5bc22bcd
commit b127673610
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public class State {
public boolean setParentSpan(final Span parentSpan) {
final boolean result = parentSpanRef.compareAndSet(null, parentSpan);
if (!result) {
if (!result && parentSpanRef.get() != parentSpan) {
log.debug(
"Failed to set parent span because another parent span is already set {}: new: {}, old: {}",
this,