blob: 602c4967584b08bec66bc9030e3da6b90043acdf [file] [log] [blame]
Michael Hanldeb3c212015-10-16 23:02:24 +02001
2# Root logger option
3#log4j.threshold=ALL
4log4j.rootLogger=INFO, stdout, debugLog
5log4j.logger.log=ERROR, errorLog
6
7# Direct log messages to stdout
8log4j.appender.stdout=org.apache.log4j.ConsoleAppender
9log4j.appender.stdout.Target=System.out
10log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
11log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd, HH:mm:ss} %C{6} - %M%n %-5p: %m%n
12
13log4j.appender.errorLog=org.apache.log4j.RollingFileAppender
14log4j.appender.errorLog.layout=org.apache.log4j.PatternLayout
15log4j.appender.errorLog.layout.ConversionPattern=%d{MMM dd, yyyy HH:mm:ss} %C{6} - %M %n %-5p: %m%n
16log4j.appender.errorLog.File=./logs/errors.log
17
18
19log4j.appender.debugLog=org.apache.log4j.RollingFileAppender
20log4j.appender.debugLog.layout=org.apache.log4j.PatternLayout
21log4j.appender.debugLog.layout.ConversionPattern=%d{MMM dd, yyyy HH:mm:ss} %C{6} - %M %n %-5p: %m%n
22log4j.appender.debugLog.File=./logs/logging.log