Skip to content

Instantly share code, notes, and snippets.

@dionysio
Last active October 17, 2017 10:01
Show Gist options
  • Save dionysio/70bc86ac9e16a4d439ece5b43d0ef5c0 to your computer and use it in GitHub Desktop.
Save dionysio/70bc86ac9e16a4d439ece5b43d0ef5c0 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration>
<appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern"
value="%d %-5p [%t] %M - %m%n"/>
</layout>
</appender>
<category name="org.apache.log4j.xml">
<priority value="warn" />
<appender-ref ref="STDOUT" />
</category>
<logger name="org.apache" >
<level value ="warn" />
</logger>
<root level="trace">
<priority value ="trace" />
<appender-ref ref="STDOUT" />
</root>
</log4j:configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment