blob: 77acad8915a539370123294deb5f2e899ba28cd6 [file] [log] [blame]
amohamad9ee60942020-06-26 12:40:11 -04001status = error
2dest = err
3name = PropertiesConfig
4
sebdeta4e013f2020-08-05 17:12:51 +02005property.filename = logs/ws-log.out
amohamad9ee60942020-06-26 12:40:11 -04006
7#filter.threshold.type = ThresholdFilter
8#filter.threshold.level = debug
9
10appender.rolling.type = RollingFile
11appender.rolling.name = RollingFile
12appender.rolling.fileName = ${filename}
sebdeta4e013f2020-08-05 17:12:51 +020013appender.rolling.filePattern = logs/ws-%d{MM-dd-yy-HH-mm-ss}-%i.log.gz
amohamad9ee60942020-06-26 12:40:11 -040014appender.rolling.layout.type = PatternLayout
15appender.rolling.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %5p [%10c] : %m%n
16appender.rolling.policies.type = Policies
17appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
18appender.rolling.policies.size.size=5MB
19appender.rolling.strategy.type = DefaultRolloverStrategy
20appender.rolling.strategy.max = 10
21
22appender.console.type = Console
23appender.console.name = STDOUT
24appender.console.layout.type = PatternLayout
25appender.console.layout.pattern = %d{yyyy-MM-dd HH:mm:ss} %5p %10c:%L - %m%n
26appender.console.filter.threshold.type = ThresholdFilter
27appender.console.filter.threshold.level = info
28
29logger.rolling.name = RollingAppender
30logger.rolling.level = info
31logger.rolling.additivity = false
32logger.rolling.appenderRef.rolling.ref = RollingFile
33
amohamad9ee60942020-06-26 12:40:11 -040034rootLogger.level = info
35rootLogger.appenderRef.stdout.ref = STDOUT
36rootLogger.appenderRef.rolling.ref = RollingFile