view contrib/installer/bin/conf/log4j.properties @ 312:503d3a453a04

Check for isEmpty instead of comparing with "" Comparison failed for me when a linebreak was set in properties
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 14 Sep 2012 17:03:15 +0200
parents 42c89821a868
children
line wrap: on
line source
#### Log just errors and warnings to a file.
log4j.rootLogger=DEBUG, MXD, Console

log4j.appender.MXD=org.apache.log4j.RollingFileAppender
log4j.appender.MXD.File=${user.home}/MXD2map/logs/console-client.log
log4j.appender.MXD.MaxFileSize=5000KB
log4j.appender.MXD.MaxBackupIndex=1
log4j.appender.MXD.layout=org.apache.log4j.PatternLayout
log4j.appender.MXD.layout.ConversionPattern=%d [%t] %-5p %c - %m%n

#log4j.rootLogger=WARN, Console
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.Threshold=INFO
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.ConversionPattern=%d [%t] %-5p %c - %m%n
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)