How would I setup the logging properties in Confluence such that the log will contain the "synchronization complete in [ xxxxms ]" INFO messages BUT none of the other synchronizer INFO messages?
We are using crowd to synchronize 23K users and hundreds of groups every 10 minutes. The log is bloated. I can see where to set the logging level to WARN, but I still want to log the "completed" message.
2012-08-21 13:36:34,946 INFO [scheduler_Worker-6] [directory.ldap.cache.RemoteDirectoryCacheRefresher] findAllRemoteUsers found [ 22677 ] remote users in [ 3875ms ] 2012-08-21 13:36:36,571 INFO [scheduler_Worker-6] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] getUsersToAddAndUpdate scanned [ 98.8% ] users 2012-08-21 13:36:58,056 INFO [scheduler_Worker-6] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] addUserMembershipsForGroup added [ 0 ] user members to [ XX-XXX-XXXXXXXX ] in [ 0ms ] 2012-08-21 13:36:58,150 INFO [scheduler_Worker-6] [directory.ldap.cache.AbstractCacheRefresher] synchroniseMemberships found [ 3 ] remote user-group memberships, [ 0 ] remote group-group memberships in [ 0ms ]
2012-08-21 13:36:31,055 INFO [scheduler_Worker-6] [atlassian.crowd.directory.DbCachingRemoteDirectory] synchroniseCache synchronisation for directory [ 98308 ] starting 2012-08-21 13:36:58,165 INFO [scheduler_Worker-6] [atlassian.crowd.directory.DbCachingRemoteDirectory] synchroniseCache FULL synchronisation complete in [ 27110ms ]
Is it possible to set the rules in the logging properties to exclude the undesirable message types and only include the desired types?
I believe that you can modify the packages that are shown in logs in confluence logging documentation: https://confluence.atlassian.com/display/DOC/Configuring+Logging
If you look there, in the existing levels, you can remove the package that you would like to appear in logs (like
directory.ldap.cache.AbstractCacheRefresher for example), and let the "
atlassian.crowd.directory.DbCachingRemoteDirectory" still there for Info logging level.
I hope this helps you :)
I was unable to limit, via package name, the messages I didn't want and stil lreceive some of the desirable messages. This is because those messages (the desirable and undesirable) share the same packages name.
I have reduced the amount of messages coming from Crowd synchronization by sacrificing some of the messages I would otherwise want to see.
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs