jenkinsci / stashnotifier-plugin

A Jenkins Plugin to notify Atlassian Stash|Bitbucket of build results
https://plugins.jenkins.io/stashNotifier/
Other
166 stars 143 forks source link

How to enable logs for this Plugin #367

Open tahirmehraj opened 7 months ago

tahirmehraj commented 7 months ago

Describe your use-case which is not covered by existing documentation.

I'd like to check if the plugin has made the requests to the Bitbucket Server sharing status inprogress and Success/Failure. How can I see that in the logs?

Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.

No response

Are you interested in contributing to the documentation?

No response

sghill commented 7 months ago

Hi @tahirmehraj, this plugin logs to category org.jenkinsci.plugins.stashNotifier. By default it's using Apache HttpClient 4, so you can also enable logs of interest in the category org.apache.http.

Right now in case of error it will log to the build's console log, but it's a bit sparse otherwise.