Skip to content

Commit 1b1f8bc

Browse files
authored
Most contexts won't have baggage, so this debug line is not that helpful. (#8596)
It also generates a large amount of log messages when tracer debug is on.
1 parent 563b2c9 commit 1b1f8bc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

dd-trace-core/src/main/java/datadog/trace/core/baggage/BaggagePropagator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ public <C> void inject(Context context, C carrier, CarrierSetter<C> setter) {
5757

5858
Baggage baggage = Baggage.fromContext(context);
5959
if (baggage == null) {
60-
LOG.debug("Baggage instance is missing from the following context {}", context);
6160
return;
6261
}
6362

0 commit comments

Comments
 (0)