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

Disable HeartbeatAction logging in Confluence

    XMLWordPrintable

    Details

    • UIS:
      9
    • Support reference count:
      7
    • Feedback Policy:
      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 presented on Getting a lot of HeartbeatAction errors in the logs

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

      Workaround

      As documented in Getting a lot of HeartbeatAction errors in the logs

      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

              Assignee:
              Unassigned Unassigned
              Reporter:
              ssbarnea Sorin Sbarnea (Citrix)
              Votes:
              28 Vote for this issue
              Watchers:
              20 Start watching this issue

                Dates

                Created:
                Updated: