comparison gnv/src/main/webapp/WEB-INF/classes/log4j.properties @ 950:090d8331e5fd

Adapted some configuration files. gnv/trunk@1057 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 05 May 2010 08:18:27 +0000
parents ae946acba005
children e887763a37e2
comparison
equal deleted inserted replaced
722:bb3ffe7d719e 950:090d8331e5fd
1 # Set root logger level to DEBUG and its only appender to A1. 1 #### Log just errors and warnings to a file.
2 log4j.rootLogger=DEBUG, A1 2 log4j.rootLogger=WARN, BSH
3 log4j.rootLogger=DEBUG, BSH
4 3
5 # A1 is set to be a ConsoleAppender. 4 #### Log everything to a file.
6 log4j.appender.A1=org.apache.log4j.ConsoleAppender 5 #log4j.rootLogger=DEBUG, BSH
7
8 # A1 uses PatternLayout.
9 log4j.appender.A1.layout=org.apache.log4j.PatternLayout
10 log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
11 6
12 log4j.appender.BSH=org.apache.log4j.RollingFileAppender 7 log4j.appender.BSH=org.apache.log4j.RollingFileAppender
13 log4j.appender.BSH.File=${catalina.base}/logs/gnv.log 8 log4j.appender.BSH.File=${catalina.base}/logs/gnv.log
14 log4j.appender.BSH.layout=org.apache.log4j.PatternLayout 9 log4j.appender.BSH.layout=org.apache.log4j.PatternLayout
15 log4j.appender.BSH.layout.ConversionPattern=%d [%t] %-5p %c - %m%n 10 log4j.appender.BSH.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
16 11
17 # Abschalten des geschwätzigen Loggings in dre Klasse JspServlet 12 # set WARN log level for following packages to reduce output.
18 log4j.category.org.apache.jasper=WARN 13 log4j.category.org.apache.jasper=WARN
19 log4j.category.org.apache.catalina=WARN 14 log4j.category.org.apache.catalina=WARN
20 log4j.category.org.apache.commons=WARN 15 log4j.category.org.apache.commons=WARN
21 log4j.category.org.apache.struts=WARN 16 log4j.category.org.apache.struts=WARN

http://dive4elements.wald.intevation.org