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