Skip to content

Instantly share code, notes, and snippets.

@jpmitche11
Created September 2, 2012 04:10
Show Gist options
  • Select an option

  • Save jpmitche11/3594785 to your computer and use it in GitHub Desktop.

Select an option

Save jpmitche11/3594785 to your computer and use it in GitHub Desktop.
Sample log4j properties file
#Put this file on your classpath root.
log4j.rootLogger=DEBUG, console
# Direct log messages to stdout
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.Target=System.out
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment