How to check whether a User Directory was enabled/disabled in the logs

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

When working with User Directories in Jira Data Center, there may be an instance where some of them may become enabled or disabled.
We have a way to find references to User Directories being modified in the log files for those who are looking to audit such events.

Environment

Jira Data Center 8.22.6

Solution

These types of events for User Directories can be found out-of-the-box without debug logs enabled in the atlassian-jira.log.* files.
If you search for /plugins/servlet/embedded-crowd/directories/enable in these log files, you can see when it was enabled:

2023-01-19 20:42:12,409+0000 http-nio-8080-exec-19 INFO admin 1242x713x1 klq7gh 172.29.248.141,172.50.0.2 /plugins/servlet/embedded-crowd/directories/enable 
[c.a.c.e.c.a.j.c.e.ofbiz.OfBizDirectoryDao.directoryCache] Cache com.atlassian.jira.crowd.embedded.ofbiz.OfBizDirectoryDao.directoryCache was flushed

Alternatively, if you wanted to see when it was disabled, you can search for /plugins/servlet/embedded-crowd/directories/disable:

2023-01-19 20:42:04,431+0000 http-nio-8080-exec-7 INFO admin 1242x704x1 klq7gh 172.29.248.141,172.50.0.2 /plugins/servlet/embedded-crowd/directories/disable 
[c.a.c.e.c.a.j.c.e.ofbiz.OfBizDirectoryDao.directoryCache] Cache com.atlassian.jira.crowd.embedded.ofbiz.OfBizDirectoryDao.directoryCache was flushed



Last modified on Feb 14, 2023

Was this helpful?

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