Mercurial > dive4elements > gnv-client
annotate gnv/src/main/webapp/WEB-INF/config/log4j.properties @ 24:ec56ef8f3e58
Configurable logging integrated in the Web-Application
gnv/trunk@120 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Thu, 24 Sep 2009 08:18:34 +0000 |
parents | |
children |
rev | line source |
---|---|
24
ec56ef8f3e58
Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
1 # Set root logger level to DEBUG and its only appender to A1. |
ec56ef8f3e58
Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
2 log4j.rootLogger=DEBUG, A1 |
ec56ef8f3e58
Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
3 |
ec56ef8f3e58
Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
4 # A1 is set to be a ConsoleAppender. |
ec56ef8f3e58
Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
5 log4j.appender.A1=org.apache.log4j.ConsoleAppender |
ec56ef8f3e58
Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
6 |
ec56ef8f3e58
Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
7 # A1 uses PatternLayout. |
ec56ef8f3e58
Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
8 log4j.appender.A1.layout=org.apache.log4j.PatternLayout |
ec56ef8f3e58
Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
9 log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n |
ec56ef8f3e58
Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
10 |
ec56ef8f3e58
Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
11 # Abschalten des geschw�tzigen Loggings in dre Klasse JspServlet |
ec56ef8f3e58
Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
12 log4j.category.org.apache.jasper.servlet.JspServlet=WARN |
ec56ef8f3e58
Configurable logging integrated in the Web-Application
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
13 log4j.category.org.apache.catalina.core.ContainerBase=WARN |