Skip to content

Instantly share code, notes, and snippets.

@eevans
Created September 15, 2010 19:07
Show Gist options
  • Save eevans/581261 to your computer and use it in GitHub Desktop.
Save eevans/581261 to your computer and use it in GitHub Desktop.
log4j.rootLogger=DEBUG,stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%5p %d{HH:mm:ss,SSS} %m%n
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.file.maxFileSize=20MB
log4j.appender.file.maxBackupIndex=50
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%5p [%t] %d{ISO8601} %F (line %L) %m%n
log4j.appender.R.File=stats.log
log4j.logger.com.rackspace.flewton.backend.TrafficStatsBackend=DEBUG,R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment