Reduce unnecessarily verbose debug logging (#318)
This commit is contained in:
parent
aa5bc22bcd
commit
b127673610
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue