# Set root category priority to INFO and its only appender to CONSOLE. log4j.rootCategory=INFO, CONSOLE, LOGFILE #LOGFILE #, A1, R log4j.logger.org.apache.myfaces=DEBUG # CONSOLE is set to be a ConsoleAppender using a PatternLayout. log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender log4j.appender.CONSOLE.Threshold=INFO log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout log4j.appender.CONSOLE.layout.ConversionPattern=%d - %m%n # LOGFILE is set to be a File appender using a PatternLayout. #log4j.appender.LOGFILE=org.apache.log4j.FileAppender #log4j.appender.LOGFILE.File=axis.log #log4j.appender.LOGFILE.Append=true #log4j.appender.LOGFILE.Threshold=INFO #log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout #log4j.appender.LOGFILE.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender log4j.appender.LOGFILE.File=/var/log/webapps/datatester.log log4j.appender.LOGFILE.Append=true log4j.appender.LOGFILE.Threshold=INFO log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout #log4j.appender.LOGFILE.layout.ConversionPattern=%d -%-4r [%t] %-5p %c %x - %m%n log4j.appender.LOGFILE.layout.ConversionPattern=%d -[%t] - %c %x - %m%n log4j.appender.LOGFILE.MaxBackupIndex=5 log4j.appender.LOGFILE.maxFileSize=10MB