21 lines
1 KiB
Properties
21 lines
1 KiB
Properties
# Log configuration
|
|
# #################
|
|
|
|
# priority setting: DEBUG < INFO < WARN < ERROR
|
|
log4j.rootLogger = INFO, stdout, LogWriter
|
|
log4j.logger.fr.devinsy.agirstatool = INFO
|
|
log4j.logger.fr.devinsy.xidyn = INFO
|
|
|
|
#--
|
|
log4j.appender.stdout = org.apache.log4j.ConsoleAppender
|
|
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
|
|
log4j.appender.stdout.layout.ConversionPattern = %m%n
|
|
|
|
|
|
#--
|
|
log4j.appender.LogWriter = org.apache.log4j.RollingFileAppender
|
|
log4j.appender.LogWriter.File = /srv/agirStatool/agirstatool.log
|
|
log4j.appender.LogWriter.MaxFileSize = 100000KB
|
|
log4j.appender.LogWriter.MaxBackupIndex = 5
|
|
log4j.appender.LogWriter.layout = org.apache.log4j.PatternLayout
|
|
log4j.appender.LogWriter.layout.ConversionPattern = %d{ISO8601} - AGIRSTATOOL [%-5p] %34.34c.%-25M - %m%n
|