Improve logging

This commit is contained in:
Andrea Cavalli 2021-12-10 02:22:47 +01:00
parent a33a7f676a
commit 64cd9d4a9e
1 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Configuration status="WARN">
<Appenders>
<TerminalConsole name="ConsoleAppender">
<PatternLayout disableAnsi="false"
@ -11,7 +11,14 @@
</Async>
</Appenders>
<Loggers>
<Root level="INFO">
<!-- log only INFO, WARN, ERROR and FATAL logging by classes in this package -->
<Logger name="io.atomix" level="INFO" />
<!-- log only INFO, WARN, ERROR and FATAL logging by classes in this package -->
<Logger name="io.netty" level="INFO" />
<!-- log only INFO, WARN, ERROR and FATAL logging by classes in this package -->
<Logger name="io.net5" level="INFO" />
<Root level="ALL">
<filters>
<MarkerFilter marker="NETWORK_PACKETS" onMatch="DENY" onMismatch="NEUTRAL"/>
</filters>