Skip to content

Instantly share code, notes, and snippets.

@tonfever
Last active December 31, 2015 07:59
Show Gist options
  • Save tonfever/7957874 to your computer and use it in GitHub Desktop.
Save tonfever/7957874 to your computer and use it in GitHub Desktop.
Simple log4j.properties. Console, and Trace level (the Finest one).
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
log4j.rootLogger=TRACE, stdout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment