statoolinfosweb/webapp/WEB-INF/log4j2.properties

42 lines
1.4 KiB
Properties

# Log configuration
# #################
# priority setting: TRACE < DEBUG < INFO < WARN < ERROR
name = Log4j2PropertiesConfig
status = ERROR
dest = err
# Appenders settings.
appenders = console, logfile
appender.console.type = Console
appender.console.name = LogToConsole
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d{ISO8601} - SIWeb [%-5p] %34.34c.%25M %t - %m%n
appender.logfile.type = RollingFile
appender.logfile.name = StatoolInfosWeb
appender.logfile.fileName = /services/StatoolInfosWeb/statoolinfosweb.log
appender.logfile.filePattern = /services/StatoolInfosWeb/statoolinfosweb-%i.log.gz
appender.logfile.layout.type = PatternLayout
appender.logfile.layout.pattern = %d{ISO8601} - StatoolInfosWeb [%-5p] %-50c.%30M - %m%n
appender.logfile.policies.type = Policies
appender.logfile.policies.size.type = SizeBasedTriggeringPolicy
appender.logfile.policies.size.size=10MB
appender.logfile.strategy.type = DefaultRolloverStrategy
appender.logfile.strategy.max = 5
# Logger settings.
rootLogger.level = DEBUG
rootLogger.appenderRefs = a, b
rootLogger.appenderRef.a.ref = LogToConsole
rootLogger.appenderRef.b.ref = StatoolInfosWeb
logger.kiss4web.name = fr.devinsy.kiss4web
logger.kiss4web.level = DEBUG
logger.xidyn.name = fr.devinsy.xidyn
logger.xidyn.level = INFO
logger.xidyn2.name = fr.devinsy.xidyn.FilePresenter
logger.xidyn2.level = DEBUG