### direct log messages to stdout ###
log4j.rootLogger=DEBUG,stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%5p] %d{yyyy-MM-dd HH:mm:ss} %c{1} - %m%n
log4j.appender.stdout.Target=System.out
#log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
#log4j.appender.ROLLING_FILE=org.apache.log4j.RollingFileAppender
#log4j.appender.ROLLING_FILE.Threshold=ERROR
#log4j.appender.ROLLING_FILE.File=D\:\\mylog.txt
#log4j.appender.ROLLING_FILE.Append=true
#log4j.appender.ROLLING_FILE.MaxFileSize=10KB
#log4j.appender.ROLLING_FILE.MaxBackupIndex=1
#log4j.appender.ROLLING_FILE.layout=org.apache.log4j.PatternLayout
#log4j.appender.ROLLING_FILE.layout.ConversionPattern=[framework] %d - %c -%-4r [%t] %-5p %c %x - %m%n

### direct log messages to D:\\mylog.txt ###
#log4j.threshold=ALL
#log4j.rootLogger=ALL,file1,file
#log4j.logger.ErrorAppender.access=ERROR
#log4j.appender.file1=org.apache.log4j.RollingFileAppender
#log4j.appender.file1.File=D\:\\errorLog.txt
#log4j.appender.file1.MaxFileSize=2048KB
#log4j.appender.file1.MaxBackupIndex=1
#log4j.appender.file1.Threshold=ERROR
#log4j.appender.file1.layout=org.apache.log4j.PatternLayout
#log4j.appender.file1.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %5p %c{1}:%L - %m%n
#log4j.rootLogger=error,file1
#og4j.appender.file=org.apache.log4j.FileAppender
#log4j.appender.file.File=D:\\mylog.txt
#log4j.appender.file.Append=false
#log4j.appender.file.layout=org.apache.log4j.PatternLayout
#log4j.appender.file.layout.ConversionPattern=[framework] %d - %c -%-4r [%t] %-5p %c %x - %m%n
### set log levels - for more verbose logging change 'info' to 'debug' ###

#log4j.logger.ErrorAppender.access=INFO
#log4j.appender.file=org.apache.log4j.RollingFileAppender
#log4j.appender.file.File=D\:\\infoLog.txt
#log4j.appender.file.MaxFileSize=2048KB
#log4j.appender.file.MaxBackupIndex=1
#log4j.appender.file.Threshold=INFO
#log4j.appender.file.layout=org.apache.log4j.PatternLayout
#log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %5p %c{1}:%L - %m%n
#log4j.rootLogger=INFO,file

### JavaServerFaces logging options
#log4j.logger.javax.faces = error
### Hibernate logging options
log4j.logger.org.hibernate = error
### PetStore logging options
#log4j.logger.petstore = debug

05-11 11:07