Skip to content

Instantly share code, notes, and snippets.

@lovelock
Last active February 22, 2021 07:55
Show Gist options
  • Save lovelock/55e314b10fe0a96a663177ae2b2474b1 to your computer and use it in GitHub Desktop.
Save lovelock/55e314b10fe0a96a663177ae2b2474b1 to your computer and use it in GitHub Desktop.
default log4j2 configuration
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
</Console>
</Appenders>
<Loggers>
<Root level="debug">
<AppenderRef ref="Console"/>
</Root>
</Loggers>
</Configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment