Created
October 4, 2014 01:56
-
-
Save kevinhooke/c73ee974a706491265d9 to your computer and use it in GitHub Desktop.
Log4j 2 basic xml config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Configuration> | |
<Appenders> | |
<Console name="STDOUT" target="SYSTEM_OUT"> | |
<PatternLayout pattern="%C - %m%n"/> | |
</Console> | |
</Appenders> | |
<Loggers> | |
<Logger name="example.logger.name" level="debug"/> | |
<Root level="debug"> | |
<AppenderRef ref="STDOUT"/> | |
</Root> | |
</Loggers> | |
</Configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment