Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
curl -u admin -v -X PUT -d "" -H "Content-Type: application/json" http://localhost:7990/rest/api/latest/logs/logger/com.mohamicorp/debug
  • Replace “admin” admin with the username for a Bitbucket administrator

  • Replace “localhostlocalhost:7990” 7990 with the hostname and port of your Bitbucket instance.

  • If your Bitbucket instance is served via HTTPS, update the command above to “httpshttps://instead of “httphttp://.

If the command is successful, you will see a log line entry like this in the Bitbucket logs:

...

  • This command is identical to the first one, except with “info” info instead of “debug” debug at the end.