rootLogger.level = INFO
appenders = R

appender.console.type = Console
appender.console.name = STDOUT
appender.console.layout.type = PatternLayout
appender.console.layout.pattern = %d %5p [%t] (%F:%L) - %m%n

appender.R.type = RollingFile
appender.R.name = File
appender.R.fileName = ${sys:app.home}/logs/diagnostics.log
appender.R.filePattern = ${sys:app.home}/logs/diagnostics-%d{MM-dd-yyyy}.log
appender.R.layout.type = PatternLayout
appender.R.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %c{1} [%p] %m%n
appender.R.policies.type = Policies
appender.R.policies.time.type = TimeBasedTriggeringPolicy
appender.R.policies.time.interval = 1
appender.R.policies.time.modulate = true
appender.R.policies.size.type = SizeBasedTriggeringPolicy
appender.R.policies.size.size=10MB
appender.R.strategy.type = DefaultRolloverStrategy
appender.R.strategy.max = 20
appender.R.filter.threshold.type = ThresholdFilter
appender.R.filter.threshold.level = DEBUG

rootLogger.appenderRefs = R

# rootLogger.appenderRef.console.ref = STDOUT
rootLogger.appenderRef.R.ref = File
