Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-58875

Add logging to export the list of licensed Confluence users

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Currently it is difficult to find out which users are taking up a license. It would be great to be able to see this. A quick way to do it would be to provide a log level that displays the list of users.

      After this is implemented users will need to follow the following steps to see the list of licensed users:

      1. Go to the "Logging and profiling" administration screen
      2. Add an entry for "com.atlassian.confluence.user.DefaultUserAccessor" with level "DEBUG"
      3. Go to the "License Details" administration screen
      4. Tail your Confluence log file
      5. Hit the "Refresh" button under the "Licensed users" section
      6. Look for a line like this in your log file
      2019-09-17 10:36:34,271 DEBUG [read-only-transaction:thread-1] [atlassian.confluence.user.DefaultUserAccessor] getUserNamesWithConfluenceAccess Found n licensed users: [user1, user2, ...] 

            [CONFSERVER-58875] Add logging to export the list of licensed Confluence users

            Sen Geronimo made changes -
            Workflow Original: JAC Suggestion Workflow 4 [ 3580900 ] New: JAC Suggestion Workflow 3 [ 4338185 ]
            set-jac-bot made changes -
            Quan Pham made changes -
            Fix Version/s New: 6.15.10 [ 89203 ]
            Matt Shelton made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 459189 ]
            Zac Xu made changes -
            QA Demo Status Original: Not Done [ 14330 ] New: Not Needed [ 14332 ]
            QA Kickoff Status Original: Not Done [ 14234 ] New: Not Needed [ 14236 ]
            Niraj Bhawnani made changes -
            Testing Notes New: Enabling logging:
            Go to the "Logging and profiling" administration screen
            Add an entry for "com.atlassian.confluence.user.DefaultUserAccessor" with level "DEBUG"
            Go to the "License Details" administration screen
            Tail your Confluence log file
            Hit the "Refresh" button under the "Licensed users" section
            Look for a line like this in your log file

            Disabling logging
            Go to the "Logging and profiling" administration screen
            Remove the entry for "com.atlassian.confluence.user.DefaultUserAccessor"
            Go to the "License Details" administration screen
            Tail your Confluence log file
            Hit the "Refresh" button under the "Licensed users" section
            List of users should not be logged

            Ensuring correct log level:
            Go to the "Logging and profiling" administration screen
            Add an entry for "com.atlassian.confluence.user.DefaultUserAccessor" with level "INFO"
            Go to the "License Details" administration screen
            Tail your Confluence log file
            Hit the "Refresh" button under the "Licensed users" section
            List of users should not be logged
            Zac Xu made changes -
            Comment [ A fix for this issue is available to Server and Data Center customers in Confluence 6.13.9
            [Upgrade|https://www.atlassian.com/software/confluence/download?utm_source=confluence_bugfix&utm_campaign=confluence_bugfix&utm_medium=email] now or check out the [Release Notes|https://confluence.atlassian.com/doc/confluence-7-1-release-notes-976776964.html?utm_source=confluence_bugfix&utm_campaign=confluence_bugfix&utm_medium=email] to see what other issues are resolved.
             
            ]
            Rachel Robins made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 453139 ]
            Rachel Robins made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 453124 ]
            Niraj Bhawnani made changes -
            Rank New: Ranked lower

              nbhawnani Niraj Bhawnani
              nbhawnani Niraj Bhawnani
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: