view gnv/src/main/webapp/WEB-INF/classes/log4j.properties @ 1024:b45faa9315ce

Addition to the last revision: MapViewer calls via HTTP Post are also logged (#323). gnv/trunk@1278 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 26 Nov 2010 10:48:30 +0000
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