• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 8.6.1, 8.5.3, 8.3.4, 8.4.4
    • 8.5.0, 8.6.0, 8.4.1, 8.4.2, 8.5.1, 8.5.2, 8.3.3, 8.4.3
    • Other

      Issue Summary

      Confluence application logs atlassian-confluence.log are rolling over at:

      • 10 MB
      • Retaining a maximum of atlassian-confluence.log.1

      This is reproducible on Data Center: Yes

      Steps to Reproduce

      1. Install an affected Confluence version
      2. Perform an operation with high logging activity
        • e.g. enable org.apache.http
      3. Continually reload the Confluence Administration » Manage Apps page

      Expected Results

      The log files will abide by the log4.properties configuration, e.g: default settings are:

      • Roll over at 20480KB
      • Retain up to 5 files

      Actual Results

      • Only two files are retained, atlassian-confluence.log.1 and atlassian-confluence.log
      • Each file is rolling at a maximum of 10MB

      Workaround

      1. Edit <confluence-install>/confluence/WEB-INF/classes/log4j.properties
        • Comment out the com.atlassian.analytics.client and burstFilterAppender related lines (located at the very bottom of the file) by adding a leading # character as such:
          # Appender that burst limits log messages
          #log4j.appender.burstFilterAppender=com.atlassian.confluence.logging.ConfluenceHomeLogAppender
          #log4j.appender.burstFilterAppender.Threshold=ALL
          #log4j.appender.burstFilterAppender.layout=com.atlassian.confluence.util.PatternLayoutWithContext
          #log4j.appender.burstFilterAppender.layout.ConversionPattern=%d %p [%t] [%c{4}] %M %m%n
          #log4j.appender.burstFilterAppender.filter.1=com.atlassian.confluence.impl.logging.filter.BurstFilter
          #log4j.appender.burstFilterAppender.filter.1.Level=WARN
          #log4j.appender.burstFilterAppender.filter.1.Rate=0.5
          #log4j.appender.burstFilterAppender.filter.1.MaxBurst=5
          
          #log4j.logger.com.atlassian.analytics.client.listener.ProductEventListener=WARN, burstFilterAppender
          #log4j.additivity.com.atlassian.analytics.client.listener.ProductEventListener=false
          
      2. Restart the Confluence instance for the change to take effect

      If you run Confluence in a cluster, make sure you apply the above changes on all of your nodes (one at a time).

            [CONFSERVER-91703] Log4j Properties not being applied properly

            A fix for this issue is available in Confluence Data Center 8.6.1.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            James Whitehead added a comment - A fix for this issue is available in Confluence Data Center 8.6.1. Upgrade now or check out the Release Notes to see what other issues are resolved.

            A fix for this issue is available in Confluence Server and Data Center 8.4.4.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Jordan Anslow added a comment - A fix for this issue is available in Confluence Server and Data Center 8.4.4. Upgrade now or check out the Release Notes to see what other issues are resolved.

            Zac Xu added a comment -

            A fix for this issue is available in Confluence Server and Data Center 8.3.4
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Zac Xu added a comment - A fix for this issue is available in Confluence Server and Data Center 8.3.4 Upgrade now or check out the Release Notes to see what other issues are resolved.

            A fix for this issue is available in Confluence Server and Data Center 8.5.3.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            James Whitehead added a comment - A fix for this issue is available in Confluence Server and Data Center 8.5.3. Upgrade now or check out the Release Notes to see what other issues are resolved.

              2ac182705928 Ragan Martinez
              hlam@atlassian.com Eric Lam
              Affected customers:
              4 This affects my team
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: