Mark logs for easier troubleshooting in Jira Server

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.


When troubleshooting errors from log files, it can be difficult to determine where to start the investigation due to the huge amount of information within the log file.

Hence, marking the logs before and after the problem occurs will help to narrow down the search scope.

Mark the logs via the following steps:

  1. Navigate to JIRA Administration >> System >> Logging and profiling >> Mark Logs (<baseURL>/secure/admin/ViewLogging.jspa)
  2. Mark the logs with "replication starts here"
  3. Replicate the problem 
  4. Mark the logs again with "replication ends here"

The logs will have the following entry:

2016-05-06 11:22:31,180 http-nio-8712-exec-4 uri:/j712/secure/admin/ViewLogging!markLogs.jspa username:admin INFO admin 682x4670x1 1k1ukiz /secure/admin/ViewLogging!markLogs.jspa [c.a.j.util.log.LogMarker] 
    replication starts here
2016-05-06 11:22:48,525 JiraTaskExectionThread-1 INFO admin 682x4705x1 1k1ukiz /secure/admin/IndexReIndex.jspa [c.a.j.w.a.admin.index.IndexAdminImpl] Re-indexing started
2016-05-06 11:22:48,528 JiraTaskExectionThread-1 INFO admin 682x4705x1 1k1ukiz /secure/admin/IndexReIndex.jspa [c.a.j.util.index.CompositeIndexLifecycleManager] Reindex All In Background starting...
2016-05-06 11:22:50,828 JiraTaskExectionThread-1 INFO admin 682x4705x1 1k1ukiz /secure/admin/IndexReIndex.jspa [c.a.j.w.a.admin.index.IndexAdminImpl] Re-indexing finished
2016-05-06 11:23:00,104 http-nio-8712-exec-19 uri:/j712/secure/admin/ViewLogging!markLogs.jspa username:admin INFO admin 683x4735x1 1k1ukiz /secure/admin/ViewLogging!markLogs.jspa [c.a.j.util.log.LogMarker] 
    replication ends here

All log files under $JIRA-HOME/log/ are marked simultaneously, as well as the $JIRA-INSTALL/log/catalina.out file.

For more info, please see Useful log files in Jira.

Last modified on Aug 4, 2021

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.