Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-13078

Remove redundant additivity properties in log4j.properties

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      In Confluence, we have a lot of property pairs in log4j.properties like this:

      log4j.logger.com.atlassian.confluence.core=DEBUG, confluencelog
      log4j.additivity.com.atlassian.confluence.core=false

      This sets the core package logging level to DEBUG, and ensures it only gets printed once in the log. The additivity line isn't necessary if we remove the ",confluencelog" from the end of the logger property – confluencelog is already appended to by the rootLogger so it doesn't need to be added again.

      We should change examples like the above to simply this:

      log4j.logger.com.atlassian.confluence.core=DEBUG

              matt@atlassian.com Matt Ryall
              matt@atlassian.com Matt Ryall
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: