# Copyright 2004 The Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ------------------------------------------------------------------- # $Id: log4j.properties,v 1.3 2008-01-08 12:55:14 buesching Exp $ # # This file contains log4j-specifc logging properties. This file is # loaded by the logging service based on the following property: # # services.LoggingService.log4j.properties = ${webappRoot}/WEB-INF/conf/log4j.properties # # Appender specified in log4j.category.default must be the same as # the one specified in services.LoggingService.default property. # # All log4j properties should be supported. Check log4j documentation # for more information. # # Note that strings containing "," (comma) characters must backslash # escape the comma (i.e. '\,') # # ------------------------------------------------------------------- # hp, 15.11.06 # deegree logging conflicts with jetspeed appender # orig: log4j.rootLogger = INFO, jetspeed - # just one root logger for deegree and jetspeed allowed; rootLogger definied in classes/log4j.properties log4j.rootLogger = INFO, jetspeed, stdout log4j.debug = false # # Jetspeed goes into Jetspeed Log # log4j.category.org.apache.jetspeed = DEBUG, jetspeed log4j.additivity.org.apache.jetspeed = false # # Jetspeed services goes into Jetspeed Services Log # log4j.category.org.apache.jetspeed.services = DEBUG, jetspeedsrv log4j.additivity.org.apache.jetspeed.services = false # Setting CastorPsmlManagerService to higher level, as it is quite verbose on DEBUG log4j.category.org.apache.jetspeed.services.psmlmanager.CastorPsmlManagerService = INFO, jetspeedsrv log4j.additivity.org.apache.jetspeed.services.psmlmanager.CastorPsmlManagerService = false # # Turbine goes into Turbine Log # JetspeedLoggingService handles all logging thru TurbineLoggingService # log4j.category.org.apache.jetspeed.services.logging.JetspeedLoggingService = INFO, turbine log4j.additivity.org.apache.jetspeed.services.logging.JetspeedLoggingService = false # hp, 2006-11-21 # # Torque goes in Torque log # #log4j.category.org.apache.torque = DEBUG , org.apache.torque #log4j.additivity.org.apache.jetspeed.services.logging.JetspeedLoggingService = false # # Portlet access Category # log4j.category.org.apache.jetspeed.services.portletstats.JetspeedPortletStatsService = INFO, access log4j.additivity.org.apache.jetspeed.services.portletstats.JetspeedPortletStatsService = false # # Console output Category # log4j.category.stdout = INFO, stdout log4j.additivity.stdout = false # # tibesti goes into tibesti Log # log4j.category.org.deegree.tibesti = DEBUG, tibesti, tibestihtml log4j.additivity.org.deegree.tibesti = true log4j.category.org.deegree.tibesti = DEBUG log4j.category.TibestiDefaultLogger = DEBUG log4j.logger.org.deegree.tibesti=DEBUG log4j.category.java.sql=DEBUG, sql log4j.additivity.java.sql=false ######################################################################## # # Logfile definitions # ######################################################################## # # jetspeed.log # log4j.appender.jetspeed = org.apache.log4j.FileAppender log4j.appender.jetspeed.file = ${catalina.home}/logs/tibesti_jetspeed.log log4j.appender.jetspeed.layout = org.apache.log4j.PatternLayout log4j.appender.jetspeed.layout.conversionPattern = %d [%t] %-5p %c{1} - %m%n log4j.appender.jetspeed.append = false log4j.appender.jetspeedsrv = org.apache.log4j.FileAppender log4j.appender.jetspeedsrv.file = ${catalina.home}/logs/tibesti_jetspeedservices.log log4j.appender.jetspeedsrv.layout = org.apache.log4j.PatternLayout log4j.appender.jetspeedsrv.layout.conversionPattern = %d [%t] %-5p %c{1} - %m%n log4j.appender.jetspeedsrv.append = false #log4j.appender.jetspeed = org.apache.log4j.RollingFileAppender #log4j.appender.jetspeed.file = ${catalina.home}/logs/tibesti_rotation.log #log4j.appender.jetspeed.MaxFileSize = 50KB #log4j.appender.jetspeed.MaxBackupIndex = 5 #log4j.appender.jetspeed.layout = org.apache.log4j.PatternLayout #log4j.appender.jetspeed.layout.ConversionPattern = [%d{dd MMM yyyy HH:mm:ss} %5p] - %m%n # # turbine.log # log4j.appender.turbine = org.apache.log4j.FileAppender log4j.appender.turbine.file = ${catalina.home}/logs/tibesti_turbine.log log4j.appender.turbine.layout = org.apache.log4j.PatternLayout log4j.appender.turbine.layout.conversionPattern = %d [%t] %-5p %c{1} - %m%n log4j.appender.turbine.append = false # # torque log # log4j.appender.org.apache.torque = org.apache.log4j.FileAppender log4j.appender.org.apache.torque.file = ${catalina.home}/logs/tibesti_torque.log log4j.appender.org.apache.torque.layout = org.apache.log4j.PatternLayout log4j.appender.org.apache.torque.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.org.apache.torque.append = false # # Portlet access Output # log4j.appender.access = org.apache.log4j.FileAppender log4j.appender.access.file = ${catalina.home}/logs/tibesti_access.log log4j.appender.access.layout = org.apache.log4j.PatternLayout log4j.appender.access.layout.conversionPattern = %m%n log4j.appender.access.append = true # # Console Output # log4j.appender.stdout = org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout = org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern = [%d{dd MMM yyyy HH:mm:ss} %5p] - %m%n # # tibesti log & html appender # log4j.appender.tibesti=org.apache.log4j.FileAppender log4j.appender.tibesti.file=${catalina.home}/logs/tibesti.log log4j.appender.tibesti.layout=org.apache.log4j.PatternLayout log4j.appender.tibesti.layout.ConversionPattern=%d %-5p [%c] %m%n log4j.appender.tibestihtml=org.apache.log4j.RollingFileAppender log4j.appender.tibestihtml.file=${catalina.home}/logs/tibesti-log.html log4j.appender.tibestihtml.MaxFileSize=5000KB log4j.appender.tibestihtml.layout=org.apache.log4j.HTMLLayout log4j.appender.tibestihtml.layout.title=deegree html logging # # SQL Output # log4j.appender.sql = org.apache.log4j.FileAppender log4j.appender.sql.file = ${catalina.home}/logs/tibesti_sql.log log4j.appender.sql.layout = org.apache.log4j.PatternLayout log4j.appender.sql.layout.conversionPattern = %m%n log4j.appender.sql.append = true