Better logging for Confluence 5.x LDAP connections?

Hello everyone,

I have a Confluence that stopped syncing with an external LDAP. I searched the logfiles but I need more details. Does anyone knows if there are packages/classes that I can add to the logging & profile page (/admin/viewlog4j.action) and set them to DEBUG?

I saw an article: https://confluence.atlassian.com/display/CONFKB/Debugging+LDAP+Connection+Propertiesbut I am unsure if this article resolves my problem.

1 answer

0 votes

Hello Peter,

As far as I know, confluence can enable two packages for user management issues such as:

com.atlassian.user
com.atlassian.confluence.user
This is better explained in this page as well. I hope this helps!
Cheers
Rodrigo

Hello Rodrigo,

the both classes are set in the profiling and debugging page by default. to INFO. The last days I already switched them to debug when I switched the profile into diagnostic mode, but there is no additional output in the atlassian-confluence.log

Hi Peter,

I was investigating a bit more abour LDAP logging and I believe there are some extra classes you may want to add in confluence UI:

com.atlassian.crowd.directory
com.atlassian.crowd.embedded

Add these classes and make them use DEBUG. The crowd embedded is the one that handles the LDAP and other external connections so it should be showing any error related to them and confluence.

Note that restarting confluence will reset and remove these classes.

I hope this helps!

Cheers,

Rodrigo

Hello Rodrigo,

Thank you for your reply.

I will try this and will report the results.

Best regards, Peter

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

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...

1,538 views 25 14
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you