Mercurial > dive4elements > gnv-client
annotate 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 |
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 |