margaretha | 6ef00dd | 2018-09-12 14:06:38 +0200 | [diff] [blame] | 1 | appenders = console, mainFile |
margaretha | 49cb688 | 2018-07-04 04:19:54 +0200 | [diff] [blame] | 2 | appender.console.type = Console |
| 3 | appender.console.name = STDOUT |
| 4 | appender.console.layout.type = PatternLayout |
| 5 | appender.console.layout.pattern = %d{yyyy-MM-dd, HH:mm:ss} %C{6} - %M%n %-5p: %m%n |
| 6 | |
margaretha | 6ef00dd | 2018-09-12 14:06:38 +0200 | [diff] [blame] | 7 | appender.mainFile.type = File |
| 8 | appender.mainFile.name = MAINLOG |
| 9 | appender.mainFile.fileName=./logs/main.log |
| 10 | appender.mainFile.layout.type=PatternLayout |
| 11 | appender.mainFile.layout.pattern= %d{yyyy-MM-dd, HH:mm:ss} %C{6} - %M%n %-5p: %m%n |
margaretha | 49cb688 | 2018-07-04 04:19:54 +0200 | [diff] [blame] | 12 | |
margaretha | 6ef00dd | 2018-09-12 14:06:38 +0200 | [diff] [blame] | 13 | rootLogger.level = warn |
margaretha | 5c67dd5 | 2018-12-18 17:27:05 +0100 | [diff] [blame^] | 14 | rootLogger.appenderRefs = console,mainFile |
margaretha | 6ef00dd | 2018-09-12 14:06:38 +0200 | [diff] [blame] | 15 | rootLogger.appenderRef.file.ref = MAINLOG |
margaretha | 5c67dd5 | 2018-12-18 17:27:05 +0100 | [diff] [blame^] | 16 | rootLogger.additivity=true |