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

            [CONFSERVER-13078] Remove redundant additivity properties in log4j.properties

            Sen made changes -
            Workflow Original: JAC Suggestion Workflow 4 [ 3567258 ] New: JAC Suggestion Workflow 3 [ 4332584 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow 2 [ 3176623 ] New: JAC Suggestion Workflow 4 [ 3567258 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3034491 ] New: JAC Suggestion Workflow 2 [ 3176623 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2535286 ] New: JAC Suggestion Workflow [ 3034491 ]
            Rachel Lin (Inactive) made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 2297795 ] New: Confluence Workflow - Public Facing v4 [ 2535286 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 - TEMP [ 2193606 ] New: Confluence Workflow - Public Facing v3 [ 2297795 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 1935135 ] New: Confluence Workflow - Public Facing v3 - TEMP [ 2193606 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v2 [ 1755211 ] New: Confluence Workflow - Public Facing v3 [ 1935135 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Suggestion WF (TEMP) [ 1683916 ] New: Confluence Workflow - Public Facing v2 [ 1755211 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing [ 1360245 ] New: CONF Suggestion WF (TEMP) [ 1683916 ]

              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: