# This is the configuring for logging displayed in the Application Server log4j.rootCategory=WARN, stdout, R # Replace the line above if you want to put a log file into the directory # you start Tomcat from # log4j.rootCategory=WARN, stdout, R log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout # Pattern to output the caller's file name and line number. log4j.appender.stdout.layout.ConversionPattern=[%-d{yyyy-MM-dd HH:mm:ss, SSS}] %p [%t] %c{1}.%M(%L) | %m%n log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=digitallib.log log4j.appender.R.MaxFileSize=100KB # Don't keep a backup file log4j.appender.R.MaxBackupIndex=0 log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss, SSS} %p %t %c - %m%n