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

81 lines
2.8 KiB
Properties
Raw Normal View History

2021-12-28 18:27:23 +01:00
# Log information (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
#property.filename = target/rolling/rollingtest.log
#
#filter.threshold.type = ThresholdFilter
#filter.threshold.level = DEBUG
#
#appender.console.type = Console
#appender.console.name = STDOUT
#appender.console.layout.type = PatternLayout
#appender.console.layout.pattern = %d{ISO8601} - LibreServiceEuWeb [%-5p] %34.34c.%25M %t - %m%n
#appender.console.filter.threshold.type = ThresholdFilter
#appender.console.filter.threshold.level = DEBUG
#
##--
#appender.logfile.type = RollingFile
#appender.logfile.name = LibreServiceEUWeb
#appender.rolling.fileName = /services/LibreServiceEuWeb/libreserviceeuweb.log
#appender.rolling.layout.type = PatternLayout
#appender.rolling.layout.pattern = %d{ISO8601} - LibreServiceEuWeb [%-5p] %-50c.%30M - %m%n
#appender.rolling.policies.type = Policies
#appender.rolling.policies.time.type = TimeBasedTriggeringPolicy
#appender.rolling.policies.time.interval = 2
#appender.rolling.policies.time.modulate = true
#appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
#appender.rolling.policies.size.size=100MB
#appender.rolling.strategy.type = DefaultRolloverStrategy
#appender.rolling.strategy.max = 5
#
#logger.console.name = fr.devinsy.kiss4web
#logger.console.level = DEBUG
#logger.console.additivity = false
#logger.console.appenderRef.console.ref = Console
#
#logger.console.name = eu.libreservice.www
#logger.console.level = DEBUG
#
#rootLogger.level = DEBUG
#rootLogger.appenderRef.stdout.ref = STDOUT