Skip to content

Instantly share code, notes, and snippets.

@nicolaferraro
Created May 6, 2015 15:19
Show Gist options
  • Save nicolaferraro/c52f91bab6def341bd02 to your computer and use it in GitHub Desktop.
Save nicolaferraro/c52f91bab6def341bd02 to your computer and use it in GitHub Desktop.
Log4j Console
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