Mercurial > dive4elements > framework
annotate artifact-database/doc/example-conf/log4j.properties @ 501:d3dbb7b5a164
Added tag 3.0.15 for changeset cbe3dfd3e1a6
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 16 Sep 2013 17:11:26 +0200 |
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 |