How to change logging and profiling settings to permanent setting
Platform Notice: Data Center and Cloud By Request - This article was written for the Atlassian data center platform but may also be useful for Atlassian Cloud customers. If completing instructions in this article would help you, please contact Atlassian Support and mention it.
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