# FILE is the appender for the logfile
#log4j.rootLogger=DEBUG,FILE
log4j.appender.FILE=org.apache.log4j.RollingFileAppender
log4j.appender.FILE.MaxFileSize=1024KB
log4j.appender.FILE.MaxBackupIndex=10
log4j.appender.FILE.Append=true
log4j.appender.FILE.encoding=UTF-8
log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.ConversionPattern=%d{ISO8601} [%t] %c{1} %p %x - %m%n
log4j.appender.FILE.File=${catalina.home}/logs/logs.log

#log4j.rootLogger=ERROR, stdout
#log4j.appender.stdout=org.apache.log4j.ConsoleAppender
#log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
#log4j.appender.stdout.layout.ConversionPattern=[%5p] %d{mm:ss} (%F:%M:%L)%n%m%n%n
#log4j.appender.stdout.Append=true
#log4j.appender.stdout.encoding=UTF-8
#set root logger level and inherit appenders
log4j.logger.com.ibm=DEBUG,FILE
