How to log a list of licensed users

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

目的

Currently it can be difficult to determine which users are taking up a Confluence license seat. This workaround allows you to see a list of users currently consuming a license. 

This workaround is available from Confluence 7.0.2 and later. It has also been backported to 615.10, and the 6.6.17 and 6.13.9 Enterprise Releases. 

ソリューション

To obtain a list of licensed Confluence users:

  1. Go to  > General Configuration > Logging and Profiling.
  2. Add an entry for com.atlassian.confluence.user.DefaultUserAccessor  and set the level to DEBUG. 

  3. Tail your <home-directory>/logs/atlassian-confluence-security.log file. 
  4. Go to  > General Configuration > License details.
  5. Under Licensed users, choose Refresh

  6. In the log file, look for a line similar to the following:

    2019-09-17 10:36:34,271 DEBUG [read-only-transaction:thread-1] [atlassian.confluence.user.DefaultUserAccessor] getUserNamesWithConfluenceAccess Found 3 licensed users: [user1, user2, user3] 

See Configuring Logging for more information on changing the logging and profiling settings in Confluence. 

考慮事項

  • This workaround may have a performance impact on your site. You should remove the com.atlassian.confluence.user.DefaultUserAccessor entry once you've successfully written the list of users to the log file
  • Usernames will be written to your logs in plain text. This may have privacy implications for your site. If you ever need to remove personally identifiable information you'll need to also remove it from the log files.  


説明 Write a list of all licensed Confluence users to the application log.
製品Confluence

最終更新日: 2022 年 1 月 18 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.