www.libre-service.eu-webapp/webapp/WEB-INF/log4j2.properties

42 lines
1.4 KiB
Properties

# Log configuration
# #################
# priority setting: DEBUG < INFO < WARN < ERROR
dest = err
name = Log4j2PropertiesConfig
status = TRACE
# Appenders settings.
appenders = console, logfile
appender.console.type = Console
appender.console.name = LogToConsole
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d{ISO8601} - LibreServiceEuWeb [%-5p] %34.34c.%25M %t - %m%n
appender.logfile.type = RollingFile
appender.logfile.name = LibreServiceEUWeb
appender.logfile.fileName = /srv/www.libre-service.eu/libreserviceeuweb.log
appender.logfile.filePattern = /srv/www.libre-service.eu/libreserviceeuweb-%i.log.gz
appender.logfile.layout.type = PatternLayout
appender.logfile.layout.pattern = %d{ISO8601} - LibreServiceEuWeb [%-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 = LibreServiceEUWeb
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