Enable DEBUG mode of plugin LOG

In order to get more information about the problems, it is required to enable the Debug mode of the plugin LOG. To do this, the following steps must be followed:

Important

Use REST API to change the logging level for the plugin package. The logging configuration in the Bitbucket admin area only affects Bitbucket packages.

Enable debug output, to enable debug logging, execute the following commands:

Enable DEBUG commands
curl -u admin:<password> -v -X PUT -H "Content-Type: application/json" <bitbucket url>/rest/api/latest/logs/logger/es.excentia/debug curl -u admin:<password> -v -X PUT -H "Content-Type: application/json" <bitbucket url>/rest/api/latest/logs/logger/es.sonarqube/debug



When the problem is solved, remember to disable the debug output, restart your Bitbucket or run the following commands:



Disable DEBUG commands
curl -u admin:<password> -v -X PUT -H "Content-Type: application/json" <bitbucket url>/rest/api/latest/logs/logger/es.excentia/info curl -u admin:<password> -v -X PUT -H "Content-Type: application/json" <bitbucket url>/rest/api/latest/logs/logger/es.sonarqube/info