Mercurial > dive4elements > gnv-client
annotate gnv/src/main/webapp/WEB-INF/classes/log4j.properties @ 704:ae946acba005
Set Path to Tomcat Standard Logging
gnv/trunk@949 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Hans Plum <hans.plum@intevation.de> |
---|---|
date | Mon, 19 Apr 2010 15:36:11 +0000 |
parents | 15497dce8fcd |
children | 090d8331e5fd |
rev | line source |
---|---|
664
15497dce8fcd
Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
1 # Set root logger level to DEBUG and its only appender to A1. |
15497dce8fcd
Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
2 log4j.rootLogger=DEBUG, A1 |
15497dce8fcd
Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
3 log4j.rootLogger=DEBUG, BSH |
15497dce8fcd
Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
4 |
15497dce8fcd
Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
5 # A1 is set to be a ConsoleAppender. |
15497dce8fcd
Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
6 log4j.appender.A1=org.apache.log4j.ConsoleAppender |
15497dce8fcd
Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
7 |
15497dce8fcd
Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
8 # A1 uses PatternLayout. |
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.A1.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.A1.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 |
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=org.apache.log4j.RollingFileAppender |
704
ae946acba005
Set Path to Tomcat Standard Logging
Hans Plum <hans.plum@intevation.de>
parents:
664
diff
changeset
|
13 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
|
14 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
|
15 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
|
16 |
15497dce8fcd
Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
17 # Abschalten des geschw�tzigen Loggings in dre Klasse JspServlet |
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.jasper=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.catalina=WARN |
15497dce8fcd
Adjusted logging configuration. Old config did not have any effect on log4j.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
20 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
|
21 log4j.category.org.apache.struts=WARN |