# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you 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. # ------------------------------------------------------------------- # # L O G G I N G # # ------------------------------------------------------------------- # We use Log4J for all Turbine logging and we embed the log4j # properties within our application configuration. # # NOTE: # The presence of ${webapp} in the logging configuration # is not a mistake. Internally the value of ${webapp} # is set so that you can use it with standard log4j # properties to get logs to appear in your # webapp space. # ------------------------------------------------------------------- # This first category is required and the category # must be named 'default'. This is used for all logging # where an explicit category is not specified. log4j.category.default = ALL, default log4j.appender.default = org.apache.log4j.FileAppender log4j.appender.default.file = ./turbine.log log4j.appender.default.layout = org.apache.log4j.PatternLayout log4j.appender.default.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.default.append = false # This category is used in the BasePeer class. All # SQL generated will be logged if the category # priority is set to DEBUG log4j.category.sql = DEBUG, sql log4j.appender.sql = org.apache.log4j.FileAppender log4j.appender.sql.file = ./sql.log log4j.appender.sql.layout = org.apache.log4j.PatternLayout log4j.appender.sql.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.sql.append = false log4j.category.org.apache.torque = ALL, default # ------------------------------------------------------------------- # # T O R Q U E # # ------------------------------------------------------------------- torque.database.default = turbine torque.database.turbine.adapter=mymysql torque.database.turbine.adapter.mymysql.className=org.apache.torque.adapter.DBMM torque.dsfactory.turbine.factory= org.apache.torque.dsfactory.SharedPoolDataSourceFactory torque.idbroker.prefetch=false