Mercurial > dive4elements > gnv-client
annotate gnv-artifacts/doc/conf/log4j.properties @ 1129:ccfa07b88476
merged geo-backend
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:01 +0200 |
parents | b198ca47f363 |
children |
rev | line source |
---|---|
257
b198ca47f363
Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
1 ############################################################################### |
b198ca47f363
Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
2 # Developmentconfiguration for the Loggingengine. |
b198ca47f363
Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
3 # The Configuration will only log the Information to the Console. |
b198ca47f363
Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
4 # For Test- and Productionenviroment it is necessary to create a |
b198ca47f363
Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
5 # separate Configuration which will be log the Informations e.g. into |
b198ca47f363
Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
6 # a File (RolingFileAppender). |
b198ca47f363
Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
7 ############################################################################### |
b198ca47f363
Added Documentation of Configuration-Files
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
8 |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
9 # Set root logger level to DEBUG and its only appender to A1. |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
10 log4j.rootLogger=DEBUG, A1 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
11 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
12 # A1 is set to be a ConsoleAppender. |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
13 log4j.appender.A1=org.apache.log4j.ConsoleAppender |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
14 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
15 # A1 uses PatternLayout. |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
16 log4j.appender.A1.layout=org.apache.log4j.PatternLayout |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
17 log4j.appender.A1.layout.ConversionPattern=%d [%t] %-5p %c - %m%n |