annotate 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
rev   line source
950
090d8331e5fd Adapted some configuration files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 704
diff changeset
1 #### Log just errors and warnings to a file.
090d8331e5fd Adapted some configuration files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 704
diff changeset
2 log4j.rootLogger=WARN, BSH
664
15497dce8fcd Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
3
1023
e887763a37e2 Enabled debug logging of the xml document that is used in the MapViewer call (#323).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 950
diff changeset
4 ## The following line enables the output of the MapViewer call document.
e887763a37e2 Enabled debug logging of the xml document that is used in the MapViewer call (#323).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 950
diff changeset
5 log4j.category.de.intevation.gnv.action.mapviewer.MapViewerCallAction=DEBUG
e887763a37e2 Enabled debug logging of the xml document that is used in the MapViewer call (#323).
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 950
diff changeset
6
950
090d8331e5fd Adapted some configuration files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 704
diff changeset
7 #### Log everything to a file.
090d8331e5fd Adapted some configuration files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 704
diff changeset
8 #log4j.rootLogger=DEBUG, BSH
664
15497dce8fcd Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
9
15497dce8fcd Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
10 log4j.appender.BSH=org.apache.log4j.RollingFileAppender
704
ae946acba005 Set Path to Tomcat Standard Logging
Hans Plum <hans.plum@intevation.de>
parents: 664
diff changeset
11 log4j.appender.BSH.File=${catalina.base}/logs/gnv.log
664
15497dce8fcd Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
12 log4j.appender.BSH.layout=org.apache.log4j.PatternLayout
15497dce8fcd Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
13 log4j.appender.BSH.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
15497dce8fcd Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
14
950
090d8331e5fd Adapted some configuration files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 704
diff changeset
15 # set WARN log level for following packages to reduce output.
664
15497dce8fcd Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
16 log4j.category.org.apache.jasper=WARN
15497dce8fcd Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
17 log4j.category.org.apache.catalina=WARN
15497dce8fcd Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
18 log4j.category.org.apache.commons=WARN
15497dce8fcd Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
19 log4j.category.org.apache.struts=WARN

http://dive4elements.wald.intevation.org