#log4j.rootLogger=debug, stdout, errorlogfile,debuglogfile log4j.rootLogger=debug, stdout, errorlogfile,debuglogfile log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n %l%n log4j.appender.errorlogfile=org.apache.log4j.DailyRollingFileAppender log4j.appender.errorlogfile.File=D\:\\nxweblogs\\error.log log4j.appender.errorlogfile.MaxFileSize=512KB # Keep three backup files. log4j.appender.errorlogfile.MaxBackupIndex=3 log4j.appender.errorlogfile.Append = true log4j.appender.errorlogfile.Threshold = ERROR # Pattern to output: date priority [category] - message log4j.appender.logfile.layout=org.apache.log4j.PatternLayout log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n %l%n log4j.appender.debuglogfile=org.apache.log4j.DailyRollingFileAppender log4j.appender.debuglogfile.File=D\:\\nxweblogs\\debug.log log4j.appender.debuglogfile.MaxFileSize=512KB # Keep three backup files. log4j.appender.debuglogfile.MaxBackupIndex=3 log4j.appender.debuglogfile.Append = true log4j.appender.debuglogfile.Threshold = DEBUG # Pattern to output: date priority [category] - message log4j.appender.debuglogfile.layout=org.apache.log4j.PatternLayout log4j.appender.debuglogfile.layout.ConversionPattern=%d %p [%c] - %m%n %l%n