How to change logging and profiling settings to permanent setting
Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.
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.
*Except Fisheye and Crucible
Symptoms
Log com.atlassian.confluence.security.login.DefaultLoginManager change to INFO after Confluence restart.
Cause
It's an expected behavior, the changes will be in effect only until you next restart Confluence.
Resolution
For permanent settings you need to configure the logging.properties file
Shutdown your Confluence.
Go to <CONFLUENCE-INSTALL>/confluence/WEB-INF/classes/.
Find log4j.properties and open it in a suitable text editor.
Find for the following line:
log4j.logger.com.atlassian.confluence.security.login.DefaultLoginManager=INFO
Change it to:
log4j.logger.com.atlassian.confluence.security.login.DefaultLoginManager=DEBUG
Save the editing.
Restart Confluence.
Was this helpful?