Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-39531

Disable HeartbeatAction logging in Confluence

    XMLWordPrintable

Details

    • 2
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? 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

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

              Dates

                Created:
                Updated: