All Downloads are FREE. Search and download functionalities are using the official Maven repository.

es.org.openl.rules.ruleservice.ws.5.27.8.source-code.log4j2.properties Maven / Gradle / Ivy

There is a newer version: 5.27.9
Show newest version
status = warn

property.logPath = ${sys:catalina.base:-.}/logs
property.appName = rulservice

appender.console.type = Console
appender.console.name = LogToConsole
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = R [%-5level] %d{HH:mm:ss.SSS} [%t] %c{20}%notEmpty{ id=%X{requestId}} - %msg%n

#appender.file.type = File
#appender.file.name = LogToFile
#appender.file.fileName=logs/app.log
#appender.file.layout.type=PatternLayout
#appender.file.layout.pattern=[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %c{1} - %msg%n

# Rotate log file
appender.rolling.type = RollingFile
appender.rolling.name = LogToRollingFile
appender.rolling.fileName = ${logPath}/${appName}.log
appender.rolling.filePattern = ${logPath}/${appName}-%d{MM-dd-yyyy}-%i.log.gz
appender.rolling.layout.type = PatternLayout
appender.rolling.layout.pattern = %d{yyyy-MM-dd HH:mm:ss.SSS} %5p [%t] [%c{50}]%notEmpty{ id=%X{requestId}}: %m%n
appender.rolling.policies.type = Policies
appender.rolling.policies.time.type = TimeBasedTriggeringPolicy
appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
appender.rolling.policies.size.size = 10MB
appender.rolling.strategy.type = DefaultRolloverStrategy
appender.rolling.strategy.max = 10

# Log to console and rolling file
rootLogger.level = info
rootLogger.appenderRef.rolling.ref = LogToRollingFile
rootLogger.appenderRef.console.ref = LogToConsole




© 2015 - 2024 Weber Informatics LLC | Privacy Policy