Mercurial > dive4elements > framework
annotate artifact-database/doc/example-conf/log4j.properties @ 458:4dcc59e851d7 2.9.11
Added tag 2.9.10 for changeset 5c07601fe60e
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 01 Mar 2013 13:22:04 +0100 |
parents | 1259d192e3c3 |
children |
rev | line source |
---|---|
19
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1 # Set root logger level to DEBUG and its only appender to A1. |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2 log4j.rootLogger=DEBUG, A1 |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3 |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
4 # A1 is set to be a ConsoleAppender. |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
5 log4j.appender.A1=org.apache.log4j.ConsoleAppender |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
6 |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
7 # A1 uses PatternLayout. |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
8 log4j.appender.A1.layout=org.apache.log4j.PatternLayout |
1259d192e3c3
* New configuration based on config directory
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
9 log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n |