Author: pawelz Date: Fri May 22 16:04:38 2009 GMT Module: packages Tag: HEAD ---- Log message: - log4j configuration
---- Files affected: packages/confluence: confluence-log4j.properties (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/confluence/confluence-log4j.properties diff -u /dev/null packages/confluence/confluence-log4j.properties:1.1 --- /dev/null Fri May 22 18:04:38 2009 +++ packages/confluence/confluence-log4j.properties Fri May 22 18:04:33 2009 @@ -0,0 +1,239 @@ +# This is the logging configuration for Confluence. This is standard log4j.configuration as +# described at http://logging.apache.org/log4j/1.2/manual.html +# +# To turn more verbose logging on - change "ERROR" to "WARN" or "DEBUG" + +log4j.rootLogger=WARN, confluencelog, errorlog + +### +# LOGGING LOCATION AND APPENDER +# +# Here we define the default appender which after bootstrap will log to logs/atlassian-confluence.log +# within your configured confluence.home. Prior to that, logging will be to the console. +# +# If you want to log to a different location uncomment the RollingFileAppender line and the File setting +# as instructed below. +### +# log4j.appender.confluencelog=com.atlassian.confluence.logging.ConfluenceHomeLogAppender +log4j.appender.confluencelog=org.apache.log4j.RollingFileAppender +log4j.appender.confluencelog.File=/var/log/confluence/confluence.log +log4j.appender.confluencelog.Threshold=DEBUG +log4j.appender.confluencelog.MaxFileSize=20480KB +log4j.appender.confluencelog.MaxBackupIndex=5 +log4j.appender.confluencelog.layout=com.atlassian.confluence.util.PatternLayoutWithContext +log4j.appender.confluencelog.layout.ConversionPattern=%d %p [%t] [%c{4}] %M %m%n + +#log4j.logger.VELOCITY=DEBUG, specialvelocitylog +#log4j.additivity.VELOCITY=false + +#################################### +# LOGGING LEVELS +#################################### + +#log4j.logger.com.atlassian.confluence.core=DEBUG + +#log4j.logger.com.atlassian.confluence.search=DEBUG + +### +# Atlassian User +### +#log4j.logger.com.atlassian.user=DEBUG +#log4j.logger.com.atlassian.confluence.user=DEBUG +#log4j.logger.bucket.user=DEBUG +#log4j.logger.com.atlassian.seraph=DEBUG +#log4j.logger.com.opensymphony.user=DEBUG + +### +# Attachment Migration +### +#log4j.logger.com.atlassian.confluence.pages.persistence.dao=DEBUG + +### +# INFO logging for startup event +### +log4j.logger.com.atlassian.confluence.lifecycle=INFO + +### +# INFO logging for upgrade tasks. +### +log4j.logger.com.atlassian.confluence.upgrade=INFO + +# Cluster events +log4j.logger.com.atlassian.confluence.cluster=INFO + +# Cluster safety logging +log4j.logger.com.atlassian.confluence.cluster.safety=INFO + +log4j.logger.com.atlassian.confluence.event.listeners.ResetHiLoAfterImportListener=INFO + +log4j.logger.com.atlassian.confluence.admin.actions=INFO + +#log4j.logger.com.mchange.v2.resourcepool.BasicResourcePool=DEBUG + +### +# THREAD LOCAL ERROR LOG APPENDER +### +log4j.appender.errorlog=com.atlassian.core.logging.ThreadLocalErrorLogAppender +log4j.appender.errorlog.Threshold=WARN + +# We have too problems in Velocity at the moment to show errors by default. +log4j.logger.velocity=FATAL + +## mail jobs debugging +#log4j.logger.com.atlassian.confluence.mail.jobs=DEBUG + +## lucene debugging +#log4j.logger.com.atlassian.confluence.search.lucene=DEBUG +#log4j.logger.com.atlassian.bonnie=DEBUG + +# suppress WARN log statements from the ReadWriteCache class (CONF-2517) +log4j.logger.net.sf.hibernate.cache.ReadWriteCache=ERROR + +# View SpacePermission cache hits and misses +#log4j.logger.com.atlassian.confluence.security=DEBUG + +# Tangosol Coherence logging -- see also severity in tangosol-coherence-override.xml. +#log4j.logger.Coherence=DEBUG + +##################### +# Hibernate logging # +##################### + +## log hibernate prepared statements/SQL queries (equivalent to setting 'hibernate.show_sql' to 'true') +#log4j.logger.net.sf.hibernate.SQL=DEBUG + +## log hibernate prepared statement parameter values +#log4j.logger.net.sf.hibernate.type=DEBUG + +# suppress JDBCExceptionReporter warnings (there can be a few of these under DB2) +log4j.logger.net.sf.hibernate.util.JDBCExceptionReporter=ERROR + +# suppress warnings from the SessionImpl (like Narrowing proxy to class com.atlassian.confluence.pages.Page - this operation breaks ==) +log4j.logger.net.sf.hibernate.impl.SessionImpl=ERROR + +# suppress PDF export logs to errors only +log4j.logger.com.atlassian.confluence.importexport.impl.PdfExporter=ERROR + +log4j.logger.org.apache.fop=ERROR + +# suppress FileUtils (file management) warnings +log4j.logger.com.atlassian.core.util.FileUtils=ERROR + +# suppress hibernate CustomType warnings +# (BlobInputStreamType is not a serializable custom type) +log4j.logger.net.sf.hibernate.type.CustomType=ERROR + +#log4j.logger.bucket.search=DEBUG +#log4j.logger.org.apache.lucene.search=DEBUG +#log4j.logger.com.atlassian.confluence.search=DEBUG +#log4j.logger.com.atlassian.confluence.search.summary=INFO +#log4j.logger.com.atlassian.confluence.search.UnindexingHibernateInterceptor=DEBUG + +### useful confluence classes +#log4j.logger.com.atlassian.confluence=INFO +#log4j.logger.com.atlassian.confluence.setup=DEBUG +#log4j.logger.com.atlassian.confluence.setup.actions=DEBUG +#log4j.logger.com.atlassian.confluence.util=DEBUG + +### show progress building of ANCESTOR table +#log4j.logger.com.atlassian.confluence.util.AncestorTableBuilder=INFO + +### hibernate +#log4j.logger.net.sf.hibernate=DEBUG + +### log JDBC bind parameters ### +# log4j.logger.net.sf.hibernate.type=DEBUG + +### hibernate caching activity +#log4j.logger.net.sf.hibernate.cache=DEBUG + +### log prepared statement cache activity ### +#log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=DEBUG + +### opensymphony (sitemesh, webwork, xwork) +#log4j.logger.com.opensymphony=DEBUG + +### Spring +# log4j.logger.org.springframework=WARN +# log4j.logger.springframework.transaction.support.TransactionSynchronizationManager=DEBUG +# log4j.logger.com.atlassian.config.FlushingSpringSessionInViewFilterForHibernate=DEBUG + +# Suppress "Found more than one MBeanServer" warnings +log4j.logger.org.springframework.jmx.support.JmxUtils=ERROR + +### Apache stuff +# log4j.logger.org.apache=WARN + +# Suppress "Cookie rejected" messages from HttpClient +log4j.logger.org.apache.commons.httpclient.HttpMethodBase=ERROR + +### WIKI Engine +#log4j.logger.com.atlassian.confluence.importexport=WARN +#log4j.logger.com.atlassian.renderer=WARN + +### Plugin subsystem +#log4j.logged.org.springframework.osgi=ALL +#log4j.logger.com.atlassian.plugin.osgi=DEBUG +#log4j.logger.com.atlassian.plugin.DefaultPluginManager=DEBUG + +### +# Log smartlist queries +### +#log4j.logger.com.atlassian.confluence.core.LuceneSmartListManager=DEBUG + +#### +# PROFILING LOG APPENDER +### +#log4j.appender.profiling=com.atlassian.confluence.util.profiling.ProfilingLogAppender +#log4j.appender.profiling.Threshold=DEBUG +#log4j.appender.profiling.layout=org.apache.log4j.PatternLayout +#log4j.appender.profiling.layout.ConversionPattern=%d %p [%c{4}] %m%n + +## Atlassian Profiling +log4j.logger.com.atlassian.util.profiling.UtilTimerStack=DEBUG + +## profiling debugging +#log4j.logger.net.sf.hibernate.cache.ReadWriteCache=DEBUG, profiling +#log4j.logger.com.atlassian.config.FlushingSpringSessionInViewFilterForHibernate=DEBUG, profiling +#log4j.logger.com.atlassian.confluence.util=DEBUG, profiling +#log4j.logger.org.springframework.orm.hibernate.HibernateTransactionManager=DEBUG, profiling +#log4j.logger.com.opensymphony.oscache.web.filter=DEBUG, profiling +#log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=DEBUG, profiling +#log4j.logger.net.sf.hibernate.type=DEBUG, profiling + +#### +# Access log configuration +#### +# Uncomment the lines below and the access log filter-mapping in web.xml to enable the logging +# You will probably want to create a new appender so that access log messages go to a different file. +#log4j.category.com.atlassian.confluence.util.AccessLogFilter=INFO + +## caching debugging +#log4j.logger.com.atlassian.confluence.cache=DEBUG + +## indexing debugging +#log4j.logger.com.atlassian.confluence.search.lucene=DEBUG + +# Debugging to troubleshoot duplicate key in BANDANA table problem +#log4j.logger.com.atlassian.hibernate.ResettableTableHiLoGenerator=DEBUG + +#log4j.logger.com.atlassian.confluence.search.didyoumean.lucene.LuceneWordSuggester=DEBUG + +# Default log level is WARN. If you want to log exceptions as well if an action is not found +# set the level to DEBUG +log4j.logger.com.atlassian.confluence.servlet.ConfluenceServletDispatcher=WARN + +log4j.logger.com.atlassian.confluence.search.v2.lucene.SearcherAction=WARN + +# DWR logs 404's at WARN level which is too high and can spam the logs +# http://jira.atlassian.com/browse/CONF-13438 +log4j.logger.org.directwebremoting.servlet.NotFoundHandler=ERROR + +# reduce the number of logs generated by the AbstractNoOpServlet +# http://jira.atlassian.com/browse/CONF-13496 +log4j.logger.com.atlassian.core.servlet.AbstractNoOpServlet=ERROR + +log4j.logger.org.springframework=INFO + +# Log when imports begin and end +log4j.logger.com.atlassian.confluence.importexport.actions.ImportLongRunningTask=INFO ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
