# $Id: log4j.properties,v 1.4 2007/11/13 14:09:34 hans Exp $ # # For the general syntax of property based configuration files see the # documenation of org.apache.log4j.PropertyConfigurator. # The root category uses the appender called deegree. Since no priority is # specified, the root category assumes the default priority for root # which is DEBUG in log4j. The root category is the only category that # has a default priority. All other categories need not be assigned a # priority in which case they inherit their priority from the # hierarchy. log.dir=${catalina.home}/logs # log levels # 'DEBUG' (most messages) # 'INFO' # 'WARN' # 'ERROR' (only error messages) # first argument: root log level # remaining arguments: appenders log4j.rootLogger=WARN, logfile, stdout # # log levels for individual packages and their children # # the most precise entry for a package determines the effective log level # #log4j.logger.org.deegree=WARN #log4j.logger.org.deegree.framework=WARN #log4j.logger.org.deegree.ogcwebservices.csw=INFO #log4j.logger.org.deegree.ogcwebservices.wfs=WARN log4j.logger.org.deegree=WARN #log4j.logger.org.deegree.io.datastore.sql.QueryHandler=INFO #log4j.logger.org.deegree.io.datastore.sql.transaction.InsertHandler=INFO #log4j.logger.org.deegree.io.datastore.sql=DEBUG #log4j.logger.org.deegree.ogcwebservices.wfs.TransactionHandler=INFO # # Console Output Appender # log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %5p: %m%n # # 'deegree.log' file Appender # log4j.appender.logfile=org.apache.log4j.RollingFileAppender log4j.appender.logfile.File=${log.dir}/${webapp.name}.log log4j.appender.logfile.MaxFileSize=1000KB # Keep one backup file log4j.appender.logfile.MaxBackupIndex=1 log4j.appender.logfile.layout=org.apache.log4j.PatternLayout log4j.appender.logfile.layout.ConversionPattern=%d %-5p [%c] %m%n