view gnv/src/main/webapp/WEB-INF/classes/log4j.properties @ 999:961c2c89a37c

gnv/trunk@1200 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 11 Jun 2010 12:00:43 +0000
parents 090d8331e5fd
children e887763a37e2
line wrap: on
line source
#### Log just errors and warnings to a file.
log4j.rootLogger=WARN, BSH

#### 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

# 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
log4j.category.org.apache.struts=WARN

http://dive4elements.wald.intevation.org