Mercurial > mxd2map
comparison conf/log4j.properties @ 119:84f202b6aa65
Added log4j appender for console output.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 16 Jun 2011 14:13:39 +0200 |
parents | cbd67b1100d8 |
children | 11d63bf00326 |
comparison
equal
deleted
inserted
replaced
118:39957898c694 | 119:84f202b6aa65 |
---|---|
1 #### Log just errors and warnings to a file. | 1 #### Log just errors and warnings to a file. |
2 log4j.rootLogger=ALL, BSH | 2 log4j.rootLogger=DEBUG, MXD, Console |
3 | 3 |
4 log4j.appender.BSH=org.apache.log4j.RollingFileAppender | 4 log4j.appender.MXD=org.apache.log4j.RollingFileAppender |
5 log4j.appender.BSH.File=./logs/mxd-converter.log | 5 log4j.appender.MXD.File=./logs/console-client.log |
6 log4j.appender.BSH.MaxFileSize=5000KB | 6 log4j.appender.MXD.MaxFileSize=5000KB |
7 log4j.appender.BSH.MaxBackupIndex=1 | 7 log4j.appender.MXD.MaxBackupIndex=1 |
8 log4j.appender.BSH.layout=org.apache.log4j.PatternLayout | 8 log4j.appender.MXD.layout=org.apache.log4j.PatternLayout |
9 log4j.appender.BSH.layout.ConversionPattern=%d [%t] %-5p %c - %m%n | 9 log4j.appender.MXD.layout.ConversionPattern=%d [%t] %-5p %c - %m%n |
10 | |
11 #log4j.rootLogger=WARN, Console | |
12 log4j.appender.Console=org.apache.log4j.ConsoleAppender | |
13 log4j.appender.Console.Threshold=WARN | |
14 log4j.appender.Console.layout=org.apache.log4j.PatternLayout | |
15 log4j.appender.Console.layout.ConversionPattern=%d [%t] %-5p %c - %m%n | |
16 |