agirbot/resources/conf/log4j-default.properties

40 lines
1.5 KiB
Properties

log4j.rootLogger = warn, stdout
log4j.logger.org.april.hebdobot = info
log4j.appender.stdout = org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout = org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern = %d %-5p %c - %m%n
#log4j.appender.CONSOLE.layout.ConversionPattern = %d{ISO8601} - Hebdobot [%-5p] %34.34c.%25M - %m%n
# Log information (priority setting : DEBUG < INFO < WARN < ERROR)
# ################
log4j.rootLogger = INFO, RSLisi-Writer, CONSOLE
log4j.logger.fr.devinsy.hico = DEBUG
log4j.logger.fr.devinsy.kiss4web = DEBUG
log4j.logger.fr.devinsy.xidyn = INFO
log4j.logger.fr.devinsy.xidyn.Presenter = INFO
log4j.logger.fr.devinsy.xidyn.FilePresenter = DEBUG
log4j.logger.eu.republiquesociale = DEBUG
#--
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE.layout.ConversionPattern = %d{ISO8601} - RSLisi [%-5p] %34.34c.%25M - %m%n
#--
log4j.appender.RSLisi-Writer = org.apache.log4j.RollingFileAppender
log4j.appender.RSLisi-Writer.File = /services/RSLisi/rslisi.log
log4j.appender.RSLisi-Writer.MaxFileSize = 100000KB
log4j.appender.RSLisi-Writer.MaxBackupIndex = 100
log4j.appender.RSLisi-Writer.layout = org.apache.log4j.PatternLayout
log4j.appender.RSLisi-Writer.layout.ConversionPattern = %d{ISO8601} - RSLisi [%-5p] %-50c.%30M - %m%n