hebdobot/resources/conf/log4j-default.properties

22 lines
1020 B
Properties
Raw Normal View History

# Log information (priority setting : DEBUG < INFO < WARN < ERROR)
2018-01-07 22:28:57 +01:00
# http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html
# ################
2018-01-07 22:56:17 +01:00
log4j.rootLogger = INFO, stdout, LogWriter
2018-01-07 22:28:57 +01:00
log4j.logger.org.april.hebdobot = DEBUG
#--
2018-01-07 22:56:17 +01:00
log4j.appender.stdout = org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
2018-01-07 22:28:57 +01:00
log4j.appender.stdout.layout.ConversionPattern = %m%n
#--
2018-01-07 22:28:57 +01:00
log4j.appender.LogWriter = org.apache.log4j.RollingFileAppender
log4j.appender.LogWriter.File = /srv/hebdobot/hebdobot.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} - HEBDOBOT [%-5p] %34.34c.%-25M - %m%n