Michael Hanl | deb3c21 | 2015-10-16 23:02:24 +0200 | [diff] [blame] | 1 | |
| 2 | # Root logger option |
| 3 | #log4j.threshold=ALL |
Akron | bc7b3a3 | 2016-10-26 17:27:46 +0200 | [diff] [blame] | 4 | log4j.rootLogger=ERROR, stdout, debugLog |
Michael Hanl | deb3c21 | 2015-10-16 23:02:24 +0200 | [diff] [blame] | 5 | log4j.logger.log=ERROR, errorLog |
| 6 | |
margaretha | cd20679 | 2017-11-17 14:48:09 +0100 | [diff] [blame] | 7 | #log4j.logger.de.ids_mannheim.korap.service.VirtualCorpusService = error, debugLog |
| 8 | #log4j.logger.de.ids_mannheim.korap.web.controller.AuthenticationController = debug, debugLog, stdout |
| 9 | |
margaretha | fde771a | 2017-11-14 15:02:10 +0100 | [diff] [blame] | 10 | |
Michael Hanl | deb3c21 | 2015-10-16 23:02:24 +0200 | [diff] [blame] | 11 | # Direct log messages to stdout |
| 12 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender |
| 13 | log4j.appender.stdout.Target=System.out |
| 14 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout |
| 15 | log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd, HH:mm:ss} %C{6} - %M%n %-5p: %m%n |
| 16 | |
| 17 | log4j.appender.errorLog=org.apache.log4j.RollingFileAppender |
| 18 | log4j.appender.errorLog.layout=org.apache.log4j.PatternLayout |
| 19 | log4j.appender.errorLog.layout.ConversionPattern=%d{MMM dd, yyyy HH:mm:ss} %C{6} - %M %n %-5p: %m%n |
| 20 | log4j.appender.errorLog.File=./logs/errors.log |
| 21 | |
Michael Hanl | efb54c4 | 2016-01-16 18:54:03 +0100 | [diff] [blame] | 22 | log4j.appender.policyLog=org.apache.log4j.RollingFileAppender |
| 23 | log4j.appender.policyLog.layout=org.apache.log4j.PatternLayout |
| 24 | log4j.appender.policyLog.layout.ConversionPattern=%d{MMM dd, yyyy HH:mm:ss} %C{6} - %M %n %-5p: %m%n |
| 25 | log4j.appender.policyLog.File=./logs/policies.log |
| 26 | |
Michael Hanl | ac113e5 | 2016-01-19 15:49:20 +0100 | [diff] [blame] | 27 | log4j.appender.authLog=org.apache.log4j.RollingFileAppender |
| 28 | log4j.appender.authLog.layout=org.apache.log4j.PatternLayout |
| 29 | log4j.appender.authLog.layout.ConversionPattern=%d{MMM dd, yyyy HH:mm:ss} %C{6} - %M %n %-5p: %m%n |
| 30 | log4j.appender.authLog.File=./logs/auth.log |
Michael Hanl | deb3c21 | 2015-10-16 23:02:24 +0200 | [diff] [blame] | 31 | |
| 32 | log4j.appender.debugLog=org.apache.log4j.RollingFileAppender |
| 33 | log4j.appender.debugLog.layout=org.apache.log4j.PatternLayout |
| 34 | log4j.appender.debugLog.layout.ConversionPattern=%d{MMM dd, yyyy HH:mm:ss} %C{6} - %M %n %-5p: %m%n |
Michael Hanl | ac113e5 | 2016-01-19 15:49:20 +0100 | [diff] [blame] | 35 | log4j.appender.debugLog.File=./logs/logging.log |
| 36 | |
| 37 | |
Michael Hanl | d8aa621 | 2016-06-03 12:48:43 +0200 | [diff] [blame] | 38 | log4j.logger.de.ids_mannheim.korap.security.ac = ERROR, policyLog |
| 39 | log4j.logger.de.ids_mannheim.korap.security.auth = ERROR, authLog |