Enable debug logging

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 Smart Commits for Bitbucket logger has the name scfb-logger-hook. You can enable it via the Bitbucket properties file or you can enable it via the following curl command.

curl -u <your-admin-user> -v -X PUT -d "" -H "Content-Type: application/json" http://<your-server>/rest/api/latest/logs/logger/scfb-logger-hook/debug

Attention: Please disable this logging again after you have done your investigation

 curl -u <your-admin-user> -v -X PUT -d "" -H "Content-Type: application/json" http://<your-server>/rest/api/latest/logs/logger/scfb-logger-hook/info

How to filter all Smart Commits for Bitbucket entries?

Each log entry will start with the prefix “scfb-logger-hook”. To see only Smart Commits for Bitbucket log entries, just filter the entries regarding the keyword “scfb-logger-hook”.


If you have technical issues, please add the “scfb-logger-hook” logs to the ticket or email. Thank you in advance.