Mercurial > dive4elements > gnv-client
annotate gnv-artifacts/doc/conf/log4j.properties @ 309:333ea3d54423
Added new Timevalues because the Data in the DWH has changed.
gnv-artifacts/trunk@367 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 24 Nov 2009 15:59:51 +0000 |
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 |