Enable debug logging for Notifyr


When Notifyr doesn't work as expected, you could turn on debug logging to provide additional information when filing a ticket

Step-by-step guide

To enable debug logging for the root logger once Bitbucket has been started, run the following command in a terminal:

curl -u <ADMIN_USERNAME> -v -X PUT -d "" -H "Content-Type: application/json" <BASE_URL>/rest/api/latest/logs/logger/<LOGGER_NAME>/debug
 
# e.g.
curl -u admin -v -X PUT -d "" -H "Content-Type: application/json" http://localhost:7990/rest/api/latest/logs/logger/nl.stefankohler.bitbucket/debug

Notifyr will write debug logging in the Bitbucket Logs, located in <Bitbucket home directory>/log.