log4j.rootLogger=DEBUG, CA, rollingFile

## Console logging
log4j.appender.CA=org.apache.log4j.ConsoleAppender
log4j.appender.CA.layout=org.apache.log4j.PatternLayout
log4j.appender.CA.Threshold=DEBUG
log4j.appender.CA.layout.ConversionPattern=[%d] [%t]  %-5p %c %x- %m%n
#log4j.appender.CA.layout.ConversionPattern=[%d] %m%n

## File logging
log4j.appender.rollingFile=org.apache.log4j.RollingFileAppender
log4j.appender.rollingFile.File=logs/comet.log
log4j.appender.rollingFile.MaxFileSize=50MB
log4j.appender.rollingFile.MaxBackupIndex=2
log4j.appender.rollingFile.layout=org.apache.log4j.PatternLayout
log4j.appender.rollingFile.layout.ConversionPattern=[%d][%t] %-5p %c %x- %m%n
log4j.appender.rollingFile.Threshold=DEBUG