Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

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:

  1. Go to System Configuration → Logging and Profiling
  2. Click Save Button
  3. Enable checkbox “Enable debug logging”
Info
titleImportant

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
languagebash
titleEnable 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 Removed


When 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
languagebash
titleDisable 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