Skip to content

Instantly share code, notes, and snippets.

@caseyscarborough
Created December 7, 2014 20:29
Show Gist options
  • Save caseyscarborough/3faeecd3ae7fb36d8189 to your computer and use it in GitHub Desktop.
Save caseyscarborough/3faeecd3ae7fb36d8189 to your computer and use it in GitHub Desktop.
Log4j properties file
# Root logger option
log4j.rootLogger=INFO, stdout
# Direct log messages to stdout
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{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment