# ------------------------------------------------------------------------ # # Logging Configuration # # $Id$ # # ------------------------------------------------------------------------ # # Copyright 2001-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. # # # If we don't know the logging facility, put it into the # turbine.log # log4j.rootLogger = INFO, app # # Turbine goes into Turbine Log # log4j.category.org.apache.turbine = INFO, turbine log4j.additivity.org.apache.turbine = false # # Torque has its own log file # @NOT_USE_OM_TORQUE@log4j.category.org.apache.torque = INFO, torque @NOT_USE_OM_TORQUE@log4j.additivity.org.apache.torque = false # # Velocity Logfile # log4j.category.velocity = INFO, velocity log4j.additivity.velocity = false # # Scheduler Category # log4j.category.scheduler = INFO, scheduler log4j.additivity.scheduler = false # # Avalon Logfile # log4j.category.avalon = INFO, avalon log4j.additivity.avalon = false # # Application debugging # log4j.category.@TURBINE_APP_PACKAGE@ = DEBUG, app log4j.additivity.@TURBINE_APP_PACKAGE@ = false ######################################################################## # # Logfile definitions # ######################################################################## # # turbine.log # log4j.appender.turbine = org.apache.log4j.FileAppender log4j.appender.turbine.file = ${applicationRoot}/logs/turbine.log log4j.appender.turbine.layout = org.apache.log4j.PatternLayout log4j.appender.turbine.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.turbine.append = false # # torque.log # @NOT_USE_OM_TORQUE@log4j.appender.torque = org.apache.log4j.FileAppender @NOT_USE_OM_TORQUE@log4j.appender.torque.file = ${applicationRoot}/logs/torque.log @NOT_USE_OM_TORQUE@log4j.appender.torque.layout = org.apache.log4j.PatternLayout @NOT_USE_OM_TORQUE@log4j.appender.torque.layout.conversionPattern = %d [%t] %-5p %c - %m%n @NOT_USE_OM_TORQUE@log4j.appender.torque.append = false # # Scheduler Output # log4j.appender.scheduler = org.apache.log4j.FileAppender log4j.appender.scheduler.file = ${applicationRoot}/logs/scheduler.log log4j.appender.scheduler.layout = org.apache.log4j.PatternLayout log4j.appender.scheduler.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.scheduler.append = false # # Velocity gets configured to write its output onto the velocity # category. # log4j.appender.velocity = org.apache.log4j.FileAppender log4j.appender.velocity.file = ${applicationRoot}/logs/velocity.log log4j.appender.velocity.layout = org.apache.log4j.PatternLayout log4j.appender.velocity.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.velocity.append = false # # Avalon gets configured to write its output onto the avalon # category. # log4j.appender.avalon = org.apache.log4j.FileAppender log4j.appender.avalon.file = ${applicationRoot}/logs/avalon.log log4j.appender.avalon.layout = org.apache.log4j.PatternLayout log4j.appender.avalon.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.avalon.append = false # # Application.log # log4j.appender.app = org.apache.log4j.FileAppender log4j.appender.app.file = ${applicationRoot}/logs/application.log log4j.appender.app.layout = org.apache.log4j.PatternLayout log4j.appender.app.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.app.append = false