- Go to System Configuration → Logging and Profiling
- Click Save Button
- Enable checkbox “Enable debug logging”
Info |
---|
|
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:
Bloque de código |
---|
language | bash |
---|
title | 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 |
Image RemovedWhen the problem is solved, remember to disable the
LOG from the same configuration page by uncheck checkbox "Enable debug logging".debug output, restart your Bitbucket or run the following commands:
Bloque de código |
---|
language | bash |
---|
title | 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 |