annotate conf/log4j.properties @ 121:9f74f4d36822

Set default values and improved logging and exception handling for map reader.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 16 Jun 2011 18:36:48 +0200
parents 11d63bf00326
children 4dc2b9aa3c57
rev   line source
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
1 #### Log just errors and warnings to a file.
119
84f202b6aa65 Added log4j appender for console output.
Raimund Renkert <rrenkert@intevation.de>
parents: 25
diff changeset
2 log4j.rootLogger=DEBUG, MXD, Console
25
cbd67b1100d8 Initial commit of the first prototype.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff changeset
3
119
84f202b6aa65 Added log4j appender for console output.
Raimund Renkert <rrenkert@intevation.de>
parents: 25
diff changeset
4 log4j.appender.MXD=org.apache.log4j.RollingFileAppender
84f202b6aa65 Added log4j appender for console output.
Raimund Renkert <rrenkert@intevation.de>
parents: 25
diff changeset
5 log4j.appender.MXD.File=./logs/console-client.log
84f202b6aa65 Added log4j appender for console output.
Raimund Renkert <rrenkert@intevation.de>
parents: 25
diff changeset
6 log4j.appender.MXD.MaxFileSize=5000KB
84f202b6aa65 Added log4j appender for console output.
Raimund Renkert <rrenkert@intevation.de>
parents: 25
diff changeset
7 log4j.appender.MXD.MaxBackupIndex=1
84f202b6aa65 Added log4j appender for console output.
Raimund Renkert <rrenkert@intevation.de>
parents: 25
diff changeset
8 log4j.appender.MXD.layout=org.apache.log4j.PatternLayout
84f202b6aa65 Added log4j appender for console output.
Raimund Renkert <rrenkert@intevation.de>
parents: 25
diff changeset
9 log4j.appender.MXD.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
84f202b6aa65 Added log4j appender for console output.
Raimund Renkert <rrenkert@intevation.de>
parents: 25
diff changeset
10
84f202b6aa65 Added log4j appender for console output.
Raimund Renkert <rrenkert@intevation.de>
parents: 25
diff changeset
11 #log4j.rootLogger=WARN, Console
84f202b6aa65 Added log4j appender for console output.
Raimund Renkert <rrenkert@intevation.de>
parents: 25
diff changeset
12 log4j.appender.Console=org.apache.log4j.ConsoleAppender
120
11d63bf00326 Changed exception handling and logging in writer classes.
Raimund Renkert <rrenkert@intevation.de>
parents: 119
diff changeset
13 log4j.appender.Console.Threshold=INFO
119
84f202b6aa65 Added log4j appender for console output.
Raimund Renkert <rrenkert@intevation.de>
parents: 25
diff changeset
14 log4j.appender.Console.layout=org.apache.log4j.PatternLayout
84f202b6aa65 Added log4j appender for console output.
Raimund Renkert <rrenkert@intevation.de>
parents: 25
diff changeset
15 log4j.appender.Console.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
84f202b6aa65 Added log4j appender for console output.
Raimund Renkert <rrenkert@intevation.de>
parents: 25
diff changeset
16
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)