filter out the periodic log message "Refreshing DNS records with ..." (#4155)

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
pull/4164/head
Daniel Lehrner 2 years ago committed by GitHub
parent be133b8d34
commit 059af013bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      besu/src/main/resources/log4j2.xml

@ -39,6 +39,9 @@
</Appenders> </Appenders>
<Loggers> <Loggers>
<Logger name="org.apache.logging.log4j.status.StatusLogger" level="OFF"/> <Logger name="org.apache.logging.log4j.status.StatusLogger" level="OFF"/>
<Logger name="org.apache.tuweni.discovery.DNSTimerTask">
<RegexFilter regex="Refreshing DNS records with .*" onMatch="DENY" onMismatch="NEUTRAL" />
</Logger>
<Root level="${sys:root.log.level}"> <Root level="${sys:root.log.level}">
<AppenderRef ref="Router" /> <AppenderRef ref="Router" />
</Root> </Root>

Loading…
Cancel
Save