Skip to main content
Skip table of contents

How to access details logging information?

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.

BASH
#enable
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

BASH
#disable
 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”.

Support

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.