Startup log should provide ID of all user directories

XMLWordPrintable

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Startup log for LDAP looks something like:

      CONNECTOR                                     : LDAP server
                Implementing Class                            : com.atlassian.crowd.directory.OpenLDAP
                Allowed Operations                            : UPDATE_GROUP_ATTRIBUTE,UPDATE_USER_ATTRIBUTE
                Encryption Type                               : sha
                Active                                        : true
                Attributes                                    : 
                     autoAddGroups                                 : 
                     com.atlassian.crowd.directory.sync.currentstartsynctime : 
                     com.atlassian.crowd.directory.sync.issynchronising : false
                     com.atlassian.crowd.directory.sync.lastdurationms : 64
                     com.atlassian.crowd.directory.sync.laststartsynctime : 1367327244465
                     crowd.sync.incremental.enabled                : true
                     directory.cache.synchronise.interval          : 3600
                     ldap.basedn                                   : o=more
                     ldap.connection.timeout                       : 10000
                     ldap.group.description                        : description
                     ldap.group.dn                                 : 
                     ldap.group.filter                             : (objectclass=groupOfNames)
                     ldap.group.name                               : cn
                     ldap.group.objectclass                        : groupOfNames
                     ldap.group.usernames                          : member
                     ldap.local.groups                             : false
                     ldap.nestedgroups.disabled                    : true
                     ldap.pagedresults                             : false
                     ldap.pagedresults.size                        : 1000
                     ldap.password                                 : xxxxxx
                     ldap.pool.initsize                            : 
                     ldap.pool.maxsize                             : 
                     ldap.pool.prefsize                            : 
                     ldap.pool.timeout                             : 0
                     ldap.propogate.changes                        : false
                     ldap.read.timeout                             : 120000
                     ldap.referral                                 : true
                     ldap.relaxed.dn.standardisation               : false
                     ldap.roles.disabled                           : true
                     ldap.search.timelimit                         : 60000
                     ldap.secure                                   : true
                     ldap.url                                      : ldaps://example.com:636
                     ldap.user.displayname                         : fullName
                     ldap.user.dn                                  : 
                     ldap.user.email                               : mail
                     ldap.user.encryption                          : sha
                     ldap.user.filter                              : (&(objectclass=inetOrgPerson)(cn=*)(!(sn=admin)))
                     ldap.user.firstname                           : givenName
                     ldap.user.group                               : groupMembership
                     ldap.user.lastname                            : sn
                     ldap.user.objectclass                         : inetorgperson
                     ldap.user.password                            : xxxxxx
                     ldap.user.username                            : cn
                     ldap.user.username.rdn                        : cn
                     ldap.userdn                                   : cn=stuff,o=more
                     ldap.usermembership.use                       : true
                     ldap.usermembership.use.for.groups            : false

      But the messages in the logs always use the directory id:

      2013-04-30 07:10:58,407 QuartzWorker-0 INFO ServiceRunner     [atlassian.crowd.directory.DbCachingRemoteDirectory] synchronisation for directory [ 10000 ] starting
      2013-04-30 07:10:58,473 QuartzWorker-1 INFO      [atlassian.crowd.directory.DbCachingRemoteDirectory] synchronisation for directory [ 10100 ] starting

      This makes troubleshooting directory issues much more difficult. We should display the directory ID in the startup logs.

              Assignee:
              Unassigned
              Reporter:
              Boris Berenberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: