# ------------------------------------------------------------------- # $Id$ # # 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. '\,') # # ------------------------------------------------------------------- # # If we don't know the logging facility, put it into the # jetspeed.log. Add "stdout" to the list for console logging. # log4j.rootLogger = INFO, jetspeed # # Jetspeed goes into Jetspeed Log # log4j.category.org.apache.jetspeed = DEBUG, jetspeed log4j.additivity.org.apache.jetspeed = false # # Turbine goes into Turbine Log # log4j.category.org.apache.turbine = INFO, turbine log4j.additivity.org.apache.turbine = false # # Torque has its own log file # log4j.category.org.apache.torque = INFO, torque log4j.additivity.org.apache.torque = false # # Velocity Logfile # log4j.category.velocity = INFO, velocity log4j.additivity.velocity = false # # Portlet access Category # log4j.category.access = INFO, access log4j.additivity.access = false # # Console output Category # log4j.category.stdout = INFO, stdout log4j.additivity.stdout = false ######################################################################## # # Logfile definitions # ######################################################################## # # jetspeed.log # log4j.appender.jetspeed = org.apache.log4j.FileAppender log4j.appender.jetspeed.file = ${webappRoot}/WEB-INF/log/jetspeed.log log4j.appender.jetspeed.layout = org.apache.log4j.PatternLayout log4j.appender.jetspeed.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.jetspeed.append = false #log4j.appender.jetspeed = org.apache.log4j.RollingFileAppender #log4j.appender.jetspeed.file = ${webappRoot}/WEB-INF/log/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 = ${webappRoot}/WEB-INF/log/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 # log4j.appender.torque = org.apache.log4j.FileAppender log4j.appender.torque.file = ${webappRoot}/WEB-INF/log/torque.log log4j.appender.torque.layout = org.apache.log4j.PatternLayout log4j.appender.torque.layout.conversionPattern = %d [%t] %-5p %c - %m%n log4j.appender.torque.append = false # # Portlet access Output # log4j.appender.access = org.apache.log4j.FileAppender log4j.appender.access.file = ${webappRoot}/WEB-INF/log/access.log log4j.appender.access.layout = org.apache.log4j.PatternLayout log4j.appender.access.layout.conversionPattern = %m%n log4j.appender.access.append = true # # Velocity gets configured to write its output onto the velocity # category. # log4j.appender.velocity = org.apache.log4j.FileAppender log4j.appender.velocity.file = ${webappRoot}/WEB-INF/log/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 # # 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