# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. 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. For additional information regarding # copyright in this work, please see the NOTICE file in the top level # directory of this distribution. # Properties for configuring Log4j for this application # This is the configuring for logging displayed in the Application Server log4j.rootCategory=INFO, planet log4j.appender.planet=org.apache.log4j.DailyRollingFileAppender log4j.appender.planet.File=${catalina.base}/logs/planet.log log4j.appender.planet.layout=org.apache.log4j.PatternLayout log4j.appender.planet.layout.ConversionPattern=%-5p %d{yyyy-MM-dd HH:mm:ss,SSS} %C{1}:%M - %m%n # Options are: DEBUG, INFO, WARN, ERROR, FATAL # Roller code log4j.category.org.apache.roller.planet=INFO log4j.category.net.java.roller=INFO # Roller dependent libraries log4j.category.org.hibernate=INFO log4j.category.org.apache.struts2=INFO log4j.category.com.opensymphony.xwork2=INFO # this class has stupid logging which floods tons of pointless messages at INFO level log4j.category.com.opensymphony.xwork2.config.providers.XmlConfigurationProvider=WARN log4j.category.org.springframework=WARN log4j.category.org.acegisecurity=ERROR # Velocity talks a lot, so by default it is set to STFU mode log4j.category.org.apache.velocity=FATAL # Roller extras log4j.category.com.ecyrd.jspwiki=ERROR log4j.category.org.tuckey.web.filters.urlrewrite=DEBUG log4j.category.com.opensymphony.oscache=ERROR log4j.category.com.danga.MemCached=WARN # Configuration for receiving e-mails when ERROR messages occur. #log4j.appender.mail=org.apache.log4j.net.SMTPAppender #log4j.appender.mail.To=you@yours.com #log4j.appender.mail.From=you@yours.com #log4j.appender.mail.SMTPHost=127.0.0.1 #log4j.appender.mail.Threshold=ERROR #log4j.appender.mail.BufferSize=1 #log4j.appender.mail.Subject=Roller Exception #log4j.appender.mail.layout=org.apache.log4j.PatternLayout #log4j.appender.mail.layout.ConversionPattern=%p [%d{yyyy-MM-dd HH:mm:ss,SSS}] %C{1}.%M(%L) | %m%n