Mercurial > dive4elements > gnv-client
annotate gnv/src/main/webapp/WEB-INF/config/log4j.properties @ 391:ee8003fffc71
Use XMLUtils.ElementCreator to create new nodes in xml documents.
gnv/trunk@524 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Sat, 09 Jan 2010 17:02:03 +0000 |
parents | ec56ef8f3e58 |
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 |