diff 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
line wrap: on
line diff
--- a/gnv/src/main/webapp/WEB-INF/classes/log4j.properties	Wed Apr 28 16:18:30 2010 +0000
+++ b/gnv/src/main/webapp/WEB-INF/classes/log4j.properties	Wed May 05 08:18:27 2010 +0000
@@ -1,20 +1,15 @@
-# Set root logger level to DEBUG and its only appender to A1.
-log4j.rootLogger=DEBUG, A1
-log4j.rootLogger=DEBUG, BSH
+#### Log just errors and warnings to a file.
+log4j.rootLogger=WARN, BSH
 
-# A1 is set to be a ConsoleAppender.
-log4j.appender.A1=org.apache.log4j.ConsoleAppender
-
-# A1 uses PatternLayout.
-log4j.appender.A1.layout=org.apache.log4j.PatternLayout
-log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
+#### Log everything to a file.
+#log4j.rootLogger=DEBUG, BSH
 
 log4j.appender.BSH=org.apache.log4j.RollingFileAppender
 log4j.appender.BSH.File=${catalina.base}/logs/gnv.log
 log4j.appender.BSH.layout=org.apache.log4j.PatternLayout
 log4j.appender.BSH.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
 
-# Abschalten des geschwätzigen Loggings in dre Klasse JspServlet
+# set WARN log level for following packages to reduce output.
 log4j.category.org.apache.jasper=WARN
 log4j.category.org.apache.catalina=WARN
 log4j.category.org.apache.commons=WARN

http://dive4elements.wald.intevation.org