annotate 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
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
950
090d8331e5fd Adapted some configuration files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 704
diff changeset
4 #### Log everything to a file.
090d8331e5fd Adapted some configuration files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 704
diff changeset
5 #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
6
15497dce8fcd Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff changeset
7 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
8 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
9 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
10 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
11
950
090d8331e5fd Adapted some configuration files.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 704
diff changeset
12 # 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
13 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
14 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
15 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
16 log4j.category.org.apache.struts=WARN

http://dive4elements.wald.intevation.org