How to access debug logging information?
Enable debug logging (since 1.0.0)
You can enable the debug logging via the default mechanism of Bitbucket. https://confluence.atlassian.com/bitbucketserver/bitbucket-server-debug-logging-776640147.html
As described in this document you can enable specific logger. The Confluence Hooksfor Bitbucket logger has the name chfb-logger. You can enable it via the Bitbucket properties file or you can enable it via the following curl command.
#enable
curl -u <your-admin-user> -v -X PUT -d "" -H "Content-Type: application/json" http://<your-server>/rest/api/latest/logs/logger/chfb-logger/debug
Attention: Please disable this logging again after you have done your investigation
#disable
curl -u <your-admin-user> -v -X PUT -d "" -H "Content-Type: application/json" http://<your-server>/rest/api/latest/logs/logger/chfb-logger/info
How to filter all Confluence Hooks for Bitbucket entries?
Each log entry will start with the prefix “chfb-logger
”. To see only Bitbucket Hooks for Bitbucket log entries, just filter the entries regarding the keyword “chfb-logger
”.
Support
If you have technical issues, please add the “chfb-logger
” logs to the ticket or email. Thank you in advance.
Alternatively you can create a support zip via the Bitbucket mechanism. (see https://confluence.atlassian.com/support/create-a-support-zip-790796819.html)