Mercurial > dive4elements > gnv-client
annotate gnv-artifacts/doc/conf/log4j.properties @ 1063:732cea65cee7
Changed the geo-backend initialization regarding the changes of rev1149. An sql-cache is integrated and enabled now.
gnv-artifacts/trunk@1150 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 03 Jun 2010 16:10:27 +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 |