# ------------------------------------------------------------------- # $Id$ # # This is the configuration file for Turbine. # # Note that strings containing "," (comma) characters must backslash # escape the comma (i.e. '\,') # # ------------------------------------------------------------------- # ------------------------------------------------------------------- # # 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.adapter=mysql torque.idbroker.prefetch=false