PageRenderTime 47ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/plugin/src/test/resources/log4j-confluence.properties

https://bitbucket.org/rodogu/remotable-plugins
Properties File | 323 lines | 60 code | 78 blank | 185 comment | 0 complexity | deb8ebc917a3a7e3c426d2e8ec304d6c MD5 | raw file
  1. # This is the logging configuration for Confluence. This is standard log4j.configuration as
  2. # described at http://logging.apache.org/log4j/1.2/manual.html
  3. #
  4. # To turn more verbose logging on - change "ERROR" to "WARN" or "DEBUG"
  5. log4j.rootLogger=WARN, consolelog, errorlog, testAppender
  6. # , confluencelog, specialvelocitylog
  7. ###
  8. # LOGGING LOCATION AND APPENDER
  9. #
  10. # For development, the ConsoleAppender is used, leaving the logging configuration up to the app server/IDEA.
  11. #
  12. # When Confluence EAR/WAR or Standalone is being built (with Tomcat 5.5 - see the maven.xml file), we replace
  13. # the ConsoleAppender with a ConfluenceHomeLogAppender and log to the Confluence home directory.
  14. ###
  15. # This should be kept in line with the distribution files.
  16. #log4j.appender.confluencelog=com.atlassian.confluence.logging.ConfluenceHomeLogAppender
  17. #log4j.appender.confluencelog.Threshold=DEBUG
  18. #log4j.appender.confluencelog.MaxFileSize=20480KB
  19. #log4j.appender.confluencelog.MaxBackupIndex=5
  20. #log4j.appender.confluencelog.layout=com.atlassian.confluence.util.PatternLayoutWithContext
  21. #log4j.appender.confluencelog.layout.ConversionPattern=%d %p [%t] [%c{4}] %M %m%n
  22. log4j.appender.consolelog=org.apache.log4j.ConsoleAppender
  23. log4j.appender.consolelog.Threshold=ALL
  24. log4j.appender.consolelog.layout=com.atlassian.confluence.util.PatternLayoutWithContext
  25. log4j.appender.consolelog.layout.ConversionPattern=%d %p [%t] [%c{4}] %M %m%n
  26. log4j.appender.testAppender=com.atlassian.confluence.admin.actions.TestAppender
  27. log4j.appender.testAppender.Threshold=DEBUG
  28. log4j.appender.testAppender.layout=org.apache.log4j.PatternLayout
  29. log4j.appender.testAppender.layout.ConversionPattern=%m
  30. log4j.appender.luceneQuery=org.apache.log4j.ConsoleAppender
  31. log4j.appender.luceneQuery.Threshold=DEBUG
  32. log4j.appender.luceneQuery.layout=com.atlassian.confluence.util.PatternLayoutWithContext
  33. log4j.appender.luceneQuery.layout.ConversionPattern=%m%n
  34. #log4j.appender.specialvelocitylog=org.apache.log4j.FileAppender
  35. #log4j.appender.specialvelocitylog.bufferedIO=true
  36. #log4j.appender.specialvelocitylog.File=velocity-webapp-output.log
  37. #log4j.appender.specialvelocitylog.layout=org.apache.log4j.PatternLayout
  38. #log4j.appender.specialvelocitylog.layout.ConversionPattern=%m%n
  39. #log4j.logger.VELOCITY=DEBUG, specialvelocitylog
  40. #log4j.additivity.VELOCITY=false
  41. ####################################
  42. # LOGGING LEVELS
  43. ####################################
  44. #log4j.logger.com.atlassian.confluence.core=DEBUG
  45. #log4j.logger.com.atlassian.confluence.search=DEBUG
  46. ###
  47. # Atlassian User
  48. ###
  49. #log4j.logger.com.atlassian.user=DEBUG
  50. #log4j.logger.com.atlassian.confluence.user=DEBUG
  51. #log4j.logger.bucket.user=DEBUG
  52. #log4j.logger.com.atlassian.seraph=DEBUG
  53. #log4j.logger.com.opensymphony.user=DEBUG
  54. ###
  55. # Attachment Migration
  56. ###
  57. #log4j.logger.com.atlassian.confluence.pages.persistence.dao=DEBUG
  58. ###
  59. # INFO logging for startup event
  60. ###
  61. log4j.logger.com.atlassian.confluence.lifecycle=INFO
  62. log4j.logger.com.atlassian.confluence.status.SystemErrorInformationLogger=INFO
  63. ###
  64. # INFO logging for upgrade tasks.
  65. ###
  66. log4j.logger.com.atlassian.confluence.upgrade=INFO
  67. log4j.logger.com.atlassian.confluence.core.persistence.hibernate.HibernateSessionManager=INFO
  68. # Cluster events
  69. log4j.logger.com.atlassian.confluence.cluster=INFO
  70. # Cluster safety logging
  71. log4j.logger.com.atlassian.confluence.cluster.safety=INFO
  72. log4j.logger.com.atlassian.confluence.event.listeners.ResetHiLoAfterImportListener=INFO
  73. log4j.logger.com.atlassian.confluence.admin.actions=INFO
  74. # Log RPC information during tests
  75. log4j.logger.com.atlassian.confluence.test.rpc.FuncTestRpcHandlerImpl=INFO
  76. #log4j.logger.com.mchange.v2.resourcepool.BasicResourcePool=DEBUG
  77. ###
  78. # THREAD LOCAL ERROR LOG APPENDER
  79. ###
  80. log4j.appender.errorlog=com.atlassian.core.logging.ThreadLocalErrorLogAppender
  81. log4j.appender.errorlog.Threshold=WARN
  82. # We have too problems in Velocity at the moment to show errors by default. Fatal in Prod, Error in Dev
  83. log4j.logger.velocity=ERROR
  84. ## mail jobs debugging
  85. #log4j.logger.com.atlassian.confluence.mail.jobs=DEBUG
  86. ## lucene debugging
  87. #log4j.logger.com.atlassian.confluence.search.lucene=DEBUG
  88. #log4j.logger.com.atlassian.bonnie=DEBUG
  89. # suppress WARN log statements from the CoherenceCacheStrategy class (CONF-2517)
  90. log4j.logger.com.atlassian.confluence.cache.coherence.hibernate.CoherenceCacheStrategy=ERROR
  91. # View SpacePermission cache hits and misses
  92. #log4j.logger.com.atlassian.confluence.security=DEBUG
  93. # Tangosol Coherence logging -- see also severity in tangosol-coherence-override.xml.
  94. #log4j.logger.Coherence=DEBUG
  95. #####################
  96. # Hibernate logging #
  97. #####################
  98. ## log hibernate prepared statements/SQL queries (equivalent to setting 'hibernate.show_sql' to 'true')
  99. ## DEBUG, TRACE or ALL is required to see query strings
  100. log4j.logger.net.sf.hibernate.SQL=ERROR
  101. ## log hibernate prepared statement parameter values. Note: due to caching in net.sf.hibernate.type.NullableType, requires restart to take effect
  102. ## TRACE or ALL is required to see parameter values
  103. ## Note that log4j.appender.confluencelog.Threshold (or other appenders) also must be TRACE or ALL to see any trace messages in the logs
  104. #log4j.logger.net.sf.hibernate.type=TRACE
  105. # suppress JDBCExceptionReporter warnings (there can be a few of these under DB2)
  106. log4j.logger.net.sf.hibernate.util.JDBCExceptionReporter=ERROR
  107. # suppress warnings from the SessionImpl (like Narrowing proxy to class com.atlassian.confluence.pages.Page - this operation breaks ==)
  108. log4j.logger.net.sf.hibernate.impl.SessionImpl=ERROR
  109. # Log high-level import/export information
  110. log4j.logger.com.atlassian.confluence.importexport=INFO
  111. # Log when imports begin and end to aid the understanding of memory spikes during monitoring.
  112. log4j.logger.com.atlassian.confluence.importexport.actions.ImportLongRunningTask=INFO
  113. # suppress PDF export logs to errors only
  114. log4j.logger.com.atlassian.confluence.importexport.impl.PdfExporter=ERROR
  115. log4j.logger.org.apache.fop=ERROR
  116. # suppress FileUtils (file management) warnings
  117. log4j.logger.com.atlassian.core.util.FileUtils=ERROR
  118. # suppress hibernate CustomType warnings
  119. # (BlobInputStreamType is not a serializable custom type)
  120. log4j.logger.net.sf.hibernate.type.CustomType=ERROR
  121. # suppress WARN log statements from the ReadWriteCache, EhCacheProvider classes
  122. log4j.logger.net.sf.hibernate.cache.ReadWriteCache=ERROR
  123. log4j.logger.net.sf.hibernate.cache.EhCacheProvider=ERROR
  124. #log4j.logger.bucket.search=DEBUG
  125. #log4j.logger.org.apache.lucene.search=DEBUG
  126. #log4j.logger.com.atlassian.confluence.search=DEBUG
  127. #log4j.logger.com.atlassian.confluence.search.summary=INFO
  128. #log4j.logger.com.atlassian.confluence.search.UnindexingHibernateInterceptor=DEBUG
  129. ### useful confluence classes
  130. #log4j.logger.com.atlassian.confluence=INFO
  131. #log4j.logger.com.atlassian.confluence.setup=DEBUG
  132. # CONF-17010 enabled logging for setup to debug cluster build problems.
  133. # log4j.logger.com.atlassian.confluence.setup.actions=DEBUG
  134. #log4j.logger.com.atlassian.confluence.util=DEBUG
  135. ### show progress building of ANCESTOR table
  136. #log4j.logger.com.atlassian.confluence.pages.ancestors.HibernatePageAncestorManager=INFO
  137. ### hibernate
  138. #log4j.logger.net.sf.hibernate=DEBUG
  139. ### log JDBC bind parameters ###
  140. # log4j.logger.net.sf.hibernate.type=DEBUG
  141. ### hibernate caching activity
  142. #log4j.logger.net.sf.hibernate.cache=DEBUG
  143. ### log prepared statement cache activity ###
  144. #log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=DEBUG
  145. ### opensymphony (sitemesh, webwork, xwork)
  146. #log4j.logger.com.opensymphony=DEBUG
  147. ### Spring
  148. # log4j.logger.org.springframework=WARN
  149. # log4j.logger.springframework.transaction.support.TransactionSynchronizationManager=DEBUG
  150. # log4j.logger.com.atlassian.config.FlushingSpringSessionInViewFilterForHibernate=DEBUG
  151. # Suppress "Found more than one MBeanServer" warnings
  152. log4j.logger.org.springframework.jmx.support.JmxUtils=ERROR
  153. ### Apache stuff
  154. # log4j.logger.org.apache=WARN
  155. # Suppress "Cookie rejected" messages from HttpClient
  156. log4j.logger.org.apache.commons.httpclient.HttpMethodBase=ERROR
  157. ### WIKI Engine
  158. #log4j.logger.com.atlassian.renderer=WARN
  159. ### Plugin subsystem
  160. #log4j.logger.org.springframework.osgi=ALL
  161. #log4j.logger.com.atlassian.plugin.osgi=DEBUG
  162. #log4j.logger.com.atlassian.plugin.DefaultPluginManager=DEBUG
  163. # Plugins can use "atlassian.plugin" loggers across all products (Platform 2.7 requirement)
  164. log4j.logger.atlassian.plugin=INFO
  165. ###
  166. # Log smartlist queries
  167. ###
  168. #log4j.logger.com.atlassian.confluence.core.LuceneSmartListManager=DEBUG
  169. ####
  170. # PROFILING LOG APPENDER
  171. ###
  172. #log4j.appender.profiling=com.atlassian.confluence.util.profiling.ProfilingLogAppender
  173. #log4j.appender.profiling.Threshold=DEBUG
  174. #log4j.appender.profiling.layout=org.apache.log4j.PatternLayout
  175. #log4j.appender.profiling.layout.ConversionPattern=%d %p [%c{4}] %m%n
  176. ## Atlassian Profiling
  177. log4j.logger.com.atlassian.util.profiling.UtilTimerStack=DEBUG
  178. ## profiling debugging
  179. #log4j.logger.net.sf.hibernate.cache.ReadWriteCache=DEBUG, profiling
  180. #log4j.logger.com.atlassian.config.FlushingSpringSessionInViewFilterForHibernate=DEBUG, profiling
  181. #log4j.logger.com.atlassian.confluence.util=DEBUG, profiling
  182. #log4j.logger.org.springframework.orm.hibernate.HibernateTransactionManager=DEBUG, profiling
  183. #log4j.logger.com.opensymphony.oscache.web.filter=DEBUG, profiling
  184. #log4j.logger.net.sf.hibernate.ps.PreparedStatementCache=DEBUG, profiling
  185. #log4j.logger.net.sf.hibernate.type=DEBUG, profiling
  186. ####
  187. # Access log configuration
  188. ####
  189. # Uncomment the lines below and the access log filter-mapping in web.xml to enable the logging
  190. # You will probably want to create a new appender so that access log messages go to a different file.
  191. #log4j.category.com.atlassian.confluence.util.AccessLogFilter=INFO
  192. ## caching debugging
  193. #log4j.logger.com.atlassian.confluence.cache=DEBUG
  194. ## indexing debugging
  195. #log4j.logger.com.atlassian.confluence.search.lucene=DEBUG
  196. # Debugging to troubleshoot duplicate key in BANDANA table problem
  197. #log4j.logger.com.atlassian.hibernate.ResettableTableHiLoGenerator=DEBUG
  198. #log4j.logger.com.atlassian.confluence.search.didyoumean.lucene.LuceneWordSuggester=DEBUG
  199. # Default log level is WARN. If you want to log exceptions as well if an action is not found
  200. # set the level to DEBUG
  201. log4j.logger.com.atlassian.confluence.servlet.ConfluenceServletDispatcher=WARN
  202. log4j.logger.com.atlassian.confluence.search.v2.lucene.SearcherAction=WARN, luceneQuery
  203. log4j.additivity.com.atlassian.confluence.search.v2.lucene.SearcherAction=false
  204. # DWR logs 404's at WARN level which is too high and can spam the logs
  205. # http://jira.atlassian.com/browse/CONF-13438
  206. log4j.logger.org.directwebremoting.servlet.NotFoundHandler=ERROR
  207. # reduce the number of logs generated by the AbstractNoOpServlet
  208. # http://jira.atlassian.com/browse/CONF-13496
  209. log4j.logger.com.atlassian.core.servlet.AbstractNoOpServlet=ERROR
  210. # We have some classes that don't have interfaces. We don't need to see a warning about this on every startup
  211. log4j.logger.com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar=ERROR
  212. # Provides visibility on what is happening on startup (notably when and how long the spring and plugin systems take to load)
  213. log4j.logger.com.atlassian.plugin.manager.DefaultPluginManager=INFO
  214. log4j.logger.org.springframework.web.context.ContextLoader=INFO
  215. # CONF-17809
  216. log4j.logger.org.apache.http.impl.client.DefaultRequestDirector=ERROR
  217. # CONFDEV-3947 - log when user is shown What's New dialog automatically
  218. log4j.logger.com.atlassian.confluence.plugins.whatsnew.WhatsNewManager=DEBUG
  219. # Embedded Crowd logging
  220. log4j.logger.com.atlassian.crowd.embedded=INFO
  221. log4j.logger.com.atlassian.crowd.directory=INFO
  222. log4j.logger.com.atlassian.confluence.user.crowd=INFO
  223. log4j.logger.com.atlassian.confluence.user.migration=INFO
  224. log4j.logger.com.atlassian.confluence.user.DefaultUserAccessor=INFO
  225. # log4j.logger.com.atlassian.confluence.cache.option.OptionalReadThroughCache=DEBUG
  226. # log4j.logger.com.atlassian.confluence.upgrade.upgradetask.AtlassianUserToEmbeddedCrowdDataUpgradeTask=DEBUG
  227. # log4j.logger.com.atlassian.crowd.embedded.hibernate2.batch.SpringHibernate2SessionFactory=DEBUG
  228. # log4j.logger.com.atlassian.crowd.embedded.propertyset.DebugLoggingPropertySet=DEBUG
  229. # log4j.logger.com.atlassian.crowd.directory.DbCachingRemoteDirectory=DEBUG
  230. # log4j.logger.com.atlassian.crowd.directory.DbCachingRemoteDirectoryCache=DEBUG
  231. # log4j.logger.com.atlassian.crowd.directory.SpringLDAPConnector=DEBUG
  232. # log4j.logger.com.atlassian.crowd.directory.ldap.cache.RemoteDirectoryCacheRefresher=DEBUG
  233. # log4j.logger.com.atlassian.crowd.manager.directory.DirectorySynchroniser=DEBUG
  234. # Log failed login attempts when elevated security check is required - set level to DEBUG to log all failed attempts
  235. log4j.logger.com.atlassian.confluence.security.login.DefaultLoginManager=INFO
  236. # Scheduled Job Admin
  237. log4j.logger.com.atlassian.confluence.schedule.audit.AuditService=INFO
  238. # XHTML migration logging
  239. log4j.logger.com.atlassian.confluence.content.render.xhtml.migration=INFO
  240. #-----------------------------------------------------------------------------------------------------------------------
  241. #log4j.logger.org.apache.http.wire=DEBUG
  242. log4j.logger.com.atlassian.plugin.remotable=DEBUG
  243. #log4j.logger.com.atlassian.plugin.osgi=DEBUG
  244. #log4j.logger.com.atlassian.plugin.servlet=WARN
  245. #log4j.logger.com.atlassian.plugin=DEBUG