Enabling debug logging - Yet Another Commit Checker
Command to enable debug logging
curl -u admin -v -X PUT -d "" -H "Content-Type: application/json" http://localhost:7990/rest/api/latest/logs/logger/com.isroot/debug
admin is the username for a Bitbucket administrator
localhost:7990 is the hostname and port of your Bitbucket instance.
If your Bitbucket instance is served via HTTPS, update the debug logging command to “https://” instead of “http://”.
A successful command generates this entry in your Bitbucket log:
com.isroot Switching to log level [debug]
Confirm this entry is present before proceeding with further debug testing.
Command to disable debug logging
curl -u admin -v -X PUT -d "" -H "Content-Type: application/json" http://localhost:7990/rest/api/latest/logs/logger/com.isroot/info
This command is identical to the first one, except it uses
debugat the end.