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

Disable HeartbeatAction logging in Confluence

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • None
    • 30
    • 7
    • 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.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Problem Definition

      Logs can fill with HeartbeatAction errors in certain circumstances that end up generating excessive log files.

      2015-10-09 14:46:14,400 ERROR [http-nio-443-exec-13] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action
       -- referer: http://wiki.mycompany.com.au/pages/editpage.action?pageId=987654 | url: /json/startheartbeatactivity.action | userName: anonymous
      java.lang.NullPointerException
      ...
      

      Suggested Solution

      Please change the default product configuration to include the workaround to set the following attribute to:

      log4j.logger.com.atlassian.confluence.pages.actions.HeartbeatAction = OFF

      Workaround

      In <Confluence-Install>/confluence/WEB-INF/classes/log4j.properties file:

      1. Open the log4j.properties file in a text editor
      2. Add the string displayed below to a new line in the log4j.properties file:
        log4j.logger.com.atlassian.confluence.pages.actions.HeartbeatAction = OFF
      3. Save the log4j.properties file
      4. Restart Confluence

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              73f0b2e75f82 Sorin Sbarnea (Citrix)
              Votes:
              51 Vote for this issue
              Watchers:
              35 Start watching this issue

              Dates

                Created:
                Updated: