2006-05-29 13:32:12 +00:00
|
|
|
# Global logging configuration
|
|
|
|
log4j.rootLogger=WARN, stdout, fileout
|
|
|
|
|
2007-09-21 18:24:16 +00:00
|
|
|
log4j.logger.org.springframework.security=DEBUG, stdout, fileout
|
2006-05-29 13:32:12 +00:00
|
|
|
|
|
|
|
# Console output...
|
|
|
|
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
|
|
|
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
|
|
|
log4j.appender.stdout.layout.conversionPattern=[%p,%c{1},%t] %m%n
|
|
|
|
|
|
|
|
# Rolling log file output...
|
|
|
|
log4j.appender.fileout=org.apache.log4j.RollingFileAppender
|
|
|
|
log4j.appender.fileout.File=contacts.log
|
|
|
|
#log4j.appender.fileout.File=${webapp.root}/WEB-INF/log4j.log
|
|
|
|
log4j.appender.fileout.MaxFileSize=1024KB
|
|
|
|
log4j.appender.fileout.MaxBackupIndex=1
|
|
|
|
log4j.appender.fileout.layout=org.apache.log4j.PatternLayout
|
|
|
|
log4j.appender.fileout.layout.conversionPattern=%d{ABSOLUTE} %5p %c{1},%t:%L - %m%n
|