_markApplicationLog

Still need help?

The Atlassian Community is here for you.

Ask the community

When troubleshooting it can be useful to mark your log files before and after you attempt to replicate the problem. This makes it easier for you to locate the specific part of the log to investigate.  

To mark the application log files:

  1. Go to Administration  > General Configuration > Logging and Profiling.
  2. If you run Confluence in a cluster, select a cluster node.
  3. Enter a message, for example "Reproduce directory sync issue".
  4. Select Rollover log files if you want to start a new log file with your mark (this will delete the oldest log file). 
  5. Select Mark.


Screenshot: The logging and profiling screen in a cluster

Your message will be added to all the application log files (such as atlassian-confluence.log, and atlassian-confluence-security.log). You can mark your logs as often as you need to.

Here's an example:

... 
2021-01-04 13:21:47,421 INFO [http-nio-8090-exec-5 
[impl.admin.actions.MarkAllLogsAction] execute
***********************************************
Reproduce directory sync issue
************************************************ 
2021-01-04 13:25:23,901 ERROR [test error] [atlassian.confluence.test] This 
is a sample error java.lang.RuntimeException: Unable to find sample error 
for testuser 
...
Last modified on May 30, 2022

Was this helpful?

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