| appenders = console, mainFile |
| appender.console.type = Console |
| appender.console.name = STDOUT |
| appender.console.layout.type = PatternLayout |
| appender.console.layout.pattern = %d{yyyy-MM-dd, HH:mm:ss} %C{6} - %M%n %-5p: %m%n |
| |
| appender.mainFile.type = File |
| appender.mainFile.name = MAINLOG |
| appender.mainFile.fileName=./logs/main.log |
| appender.mainFile.layout.type=PatternLayout |
| appender.mainFile.layout.pattern= %d{yyyy-MM-dd, HH:mm:ss} %C{6} - %M%n %-5p: %m%n |
| |
| rootLogger.level = warn |
| rootLogger.appenderRefs = console,mainFile |
| rootLogger.appenderRef.file.ref = MAINLOG |
| rootLogger.additivity=true |