Michael Hanl | deb3c21 | 2015-10-16 23:02:24 +0200 | [diff] [blame] | 1 | |
| 2 | # Root logger option |
| 3 | #log4j.threshold=ALL |
Michael Hanl | f078532 | 2015-11-13 16:14:45 +0100 | [diff] [blame] | 4 | log4j.rootLogger=DEBUG, stdout, debugLog |
Michael Hanl | deb3c21 | 2015-10-16 23:02:24 +0200 | [diff] [blame] | 5 | log4j.logger.log=ERROR, errorLog |
| 6 | |
| 7 | # Direct log messages to stdout |
| 8 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender |
| 9 | log4j.appender.stdout.Target=System.out |
| 10 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout |
| 11 | log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd, HH:mm:ss} %C{6} - %M%n %-5p: %m%n |
| 12 | |
| 13 | log4j.appender.errorLog=org.apache.log4j.RollingFileAppender |
| 14 | log4j.appender.errorLog.layout=org.apache.log4j.PatternLayout |
| 15 | log4j.appender.errorLog.layout.ConversionPattern=%d{MMM dd, yyyy HH:mm:ss} %C{6} - %M %n %-5p: %m%n |
| 16 | log4j.appender.errorLog.File=./logs/errors.log |
| 17 | |
Michael Hanl | efb54c4 | 2016-01-16 18:54:03 +0100 | [diff] [blame^] | 18 | log4j.appender.policyLog=org.apache.log4j.RollingFileAppender |
| 19 | log4j.appender.policyLog.layout=org.apache.log4j.PatternLayout |
| 20 | log4j.appender.policyLog.layout.ConversionPattern=%d{MMM dd, yyyy HH:mm:ss} %C{6} - %M %n %-5p: %m%n |
| 21 | log4j.appender.policyLog.File=./logs/policies.log |
| 22 | |
| 23 | log4j.logger.de.ids_mannheim.korap.security.ac = DEBUG, policyLog |
Michael Hanl | deb3c21 | 2015-10-16 23:02:24 +0200 | [diff] [blame] | 24 | |
| 25 | log4j.appender.debugLog=org.apache.log4j.RollingFileAppender |
| 26 | log4j.appender.debugLog.layout=org.apache.log4j.PatternLayout |
| 27 | log4j.appender.debugLog.layout.ConversionPattern=%d{MMM dd, yyyy HH:mm:ss} %C{6} - %M %n %-5p: %m%n |
| 28 | log4j.appender.debugLog.File=./logs/logging.log |