-
Bug
-
Resolution: Fixed
-
Low
-
7.0.1, 7.1.0, 7.2.2, 7.4.0, 7.5.0, 7.6.0
-
26
-
Severity 3 - Minor
-
41
-
Issue Summary
Enabling profiling has no effect on logging in Confluence 7.0.1.
Environment
Confluence 7.0.1
Steps to Reproduce
- Enable profiling via the UI: Confluence Administration >> General Configuration >> Logging and profiling >> Enable profiling
- Check atlassian-confluence.log
Expected Results
Additional profiling logging should be added to atlassian-confluence.log for each active thread. For example:
2019-09-12 16:09:05,667 DEBUG [http-nio-26158-exec-6] [atlassian.util.profiling.UtilTimerStack] log [9ms] - /conf6158/admin/changeprofiling.action [1ms] - UserAccessor.getExistingUserByKey() [1ms] - PermissionManager.hasPermission() [0ms] - UserAccessor.isDeactivated() [0ms] - CrowdService.getUser() [0ms] - ApplicationDAO.findByName() [0ms] - UserDao.findByName() [1ms] - CrowdService.isUserMemberOfGroup() [0ms] - ApplicationDAO.findByName() [0ms] - MembershipDao.isUserDirectMember() [0ms] - UserAccessor.getUserByName() [0ms] - CrowdService.getUser() [0ms] - ApplicationDAO.findByName() [0ms] - UserDao.findByName() [0ms] - PermissionManager.isSystemAdministrator() [0ms] - UserAccessor.getPropertySet() [2ms] - XW Interceptor: Before defaultStack: /admin/changeprofiling.action (ConfigureLog4jAction.changeProfiling()) [0ms] - UserAccessor.exists() [0ms] - CrowdService.getUser() [0ms] - ApplicationDAO.findByName() [0ms] - UserDao.findByName() [0ms] - UserAccessor.getPropertySet() [0ms] - SpaceAwareInterceptor.intercept() [1ms] - PageAwareInterceptor.intercept() [0ms] - CommentAwareInterceptor.intercept() [0ms] - UserAwareInterceptor.intercept() [0ms] - BootstrapAwareInterceptor.intercept() [0ms] - PermissionManager.hasPermission() [0ms] - XW Interceptor: After defaultStack: /admin/changeprofiling.action (ConfigureLog4jAction.changeProfiling()) [0ms] - XW Interceptor: After validatingStack: /admin/changeprofiling.action (ConfigureLog4jAction.changeProfiling())
Actual Results
No expected profiling output is generated.
Workaround
- Navigate to Confluence Administration >> General Configuration >> Logging and profiling
- Click Enable Profiling; and
- Manually add com.atlassian.util.profiling.Timers as DEBUG logging
- Manually add com.atlassian.util.profiling.UtilTimerStack as DEBUG logging
- is duplicated by
-
CONFSERVER-59035 Page Profiling does not work on Confluence 7+
- Closed
- relates to
-
CWD-5951 Turning on profiling(Performance Profiling) has no effect on generated logging in Crowd
- Closed
- was cloned as
-
CONFSERVER-64798 7.4 Turning on profiling has no effect on generated logging
- Closed
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...