Skip to content

Commit

Permalink
filtered out the noisy Invalid Trace log messages (hyperledger#6825)
Browse files Browse the repository at this point in the history
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
  • Loading branch information
macfarla authored and matthew1001 committed Jun 7, 2024
1 parent 3885d39 commit 095ca23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions besu/src/main/resources/log4j2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
<Logger name="org.hyperledger.besu.ethereum.eth.transactions">
<MarkerFilter marker="INVALID_TX_REMOVED" onMatch="DENY" onMismatch="NEUTRAL" />
</Logger>
<Logger name="io.opentelemetry.extension.trace.propagation.B3PropagatorExtractorMultipleHeaders">
<RegexFilter regex="Invalid TraceId in B3 header:.*" onMatch="DENY" onMismatch="NEUTRAL" />
</Logger>
<Root level="${sys:root.log.level}">
<AppenderRef ref="Router" />
</Root>
Expand Down

0 comments on commit 095ca23

Please sign in to comment.