This page tells you how to enable page-request profiling. With profiling turned on, you will see a record of the time it takes (in milliseconds) to complete each action made on any Confluence page. If Confluence is responding slowly, an internal timing trace of the slow page request can help to identify the cause of the delay.
You will need access to the Confluence server to view a profile.
In this page:
|
For 2.8.* users: In order to get page-request profiling to work, you need to add the following to your
Please refer to this Knowledge Base item for more details. |
There are two ways to turn on profiling for your Confluence instance:
?profile=on to the URL of any Confluence page.Both methods are described below.
?profile=on to the end of the URL for static pages, or &profile=on if the URL is dynamic and already has parameters.http://localhost:8080/dashboard.action |
?profile=on to the end of the URL:
http://localhost:8080/dashboard.action?profile=on |
?profile=off to the end of the URL for static pages, or &profile=off if the URL is dynamic and already has parameters.http://localhost:8080/dashboard.action |
?profile=off to the end of the URL:
http://localhost:8080/dashboard.action?profile=off |
From Confluence 2.7, you can use the 'Logging and Profiling' option to enable or disable profiling.
You need to have System Administrator permissions in order to perform this function.
To enable page profiling,
|
To disable page profiling,
|
Screenshot: Changing Log Levels and Profiling

/logs/stdout.log file under the Confluence install directory, while users running Confluence using startup.bat under Windows have stdout written to the command prompt window.Below are the first few lines of a normal profile for accessing a page called Confluence Overview.
[344ms] - /display/ds/Confluence+Overview
[313ms] - SiteMesh: parsePage: http://localhost:8080/display/ds/Confluence+Overview
[313ms] - XW Interceptor: Before defaultStack: /pages/viewpage.action (ViewPageAction.execute())
[0ms] - SpaceAwareInterceptor.intercept()
[16ms] - PageAwareInterceptor.intercept()
[0ms] - AOP: PageManager.getPage()
[16ms] - AOP: PermissionManager.hasPermission()
[0ms] - AOP: SpacePermissionManager.hasPermission()
[16ms] - AOP: SpacePermissionManager.hasPermission()
[0ms] - AOP: SpacePermissionManager.hasPermission()
[0ms] - AOP: SpacePermissionManager.hasPermission()
[281ms] - XW Interceptor: After defaultStack: /pages/viewpage.action (ViewPageAction.execute())
[281ms] - XW Interceptor: After validatingStack: /pages/viewpage.action (ViewPageAction.execute())
...
|
Requesting Performance Support
Working with Confluence Logs