view gnv/src/main/webapp/WEB-INF/classes/log4j.properties @ 1145:dfe1ac687c7f tip

added tags
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:16:15 +0200
parents e887763a37e2
children
line wrap: on
line source
#### Log just errors and warnings to a file.
log4j.rootLogger=WARN, BSH

## The following line enables the output of the MapViewer call document.
log4j.category.de.intevation.gnv.action.mapviewer.MapViewerCallAction=DEBUG

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