We are testing debug logging configuration in Bitbucket Data Center and have observed behavior that differs from our expectations regarding the interaction between bitbucket.properties and the administrative UI.
Following Atlassian documentation below:
https://confluence.atlassian.com/bitbucketserver094/enable-debug-logging-1489802964.html
we added the following entries to: Bitbucket_HOME/shared/bitbucket.properties
logging.logger.ROOT=DEBUG
logging.logger.com.atlassian.bitbucket=DEBUG
After restarting Bitbucket, we expected the logging configuration defined in bitbucket.properties to be reflected in the Administration → Logging and profiling UI, specifically the Debug Logging enable/disable state.
However, the UI checkbox does not appear to reflect the values configured in bitbucket.properties. Additionally, changing the values in bitbucket.properties does not seem to override the setting configured through the UI.
Questions
1. Is this behavior expected?
2. Does the Debug Logging UI setting have higher precedence than the logging configuration in bitbucket.properties?