Mercurial > dive4elements > gnv-client
annotate gnv/src/main/webapp/WEB-INF/classes/log4j.properties @ 968:7a93e4114e6d
Restarting the application creates a new session id for the user.
gnv/trunk@1132 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 27 May 2010 09:06:06 +0000 |
parents | 090d8331e5fd |
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 |