ta.connector.webappfoundation.0.9.36.source-code.log4j2.properties Maven / Gradle / Ivy
name=PropertiesConfig
property.filename = logs
appenders = console, rolling
appender.console.type = Console
appender.console.name = STDOUT
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %m%n
appender.rolling.type = RollingFile
appender.rolling.name = LOGFILE
appender.rolling.fileName = ${filename}/${web:servletContextName:-webapp}.log
appender.rolling.filePattern = ${filename}/${web:servletContextName:-webapp}-%d{MM-dd-yyyy}-%i.log.gz
appender.rolling.layout.type = PatternLayout
appender.rolling.layout.pattern = %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %m%n
appender.rolling.policies.type = Policies
appender.rolling.policies.time.type = TimeBasedTriggeringPolicy
appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
appender.rolling.policies.size.size=100MB
appender.rolling.strategy.type = DefaultRolloverStrategy
appender.rolling.strategy.max = 10
# Configuration of the file logger
loggers = file, kafka
logger.file.name = infoFile
logger.file.level = INFO
logger.file.appenderRefs = file
logger.file.appenderRefs.file.ref = LOGFILE
logger.kafka.name = org.apache.kafka
logger.kafka.level = WARN
logger.kafka.appenderRefs = file
logger.kafka.appenderRefs.file.ref = LOGFILE
rootLogger.level = INFO
rootLogger.appenderRefs = stdout
rootLogger.appenderRef.stdout.ref = STDOUT
rootLogger.appenderRef.file.ref = LOGFILE
© 2015 - 2025 Weber Informatics LLC | Privacy Policy