- edited description
Debug Log Setting outdated
Hi It Looks like the log Settings are outdated, the seems to belong to stash... https://bitbucket.org/aeffle/stash-http-get-post-receive-hook/wiki/Howto%20Enable%20Debug%20Logging%20in%20Stash
Cloud you please update it for the actual version. Is it correct, that I have to add this line now to /atlassian-bitbucket/WEB-INF/classes/logback.xml ?
<!-- Turn on maximum logging for HttpGetPostReceiveHook plugin -->
<logger name="de.aeffle.stash.plugin.hook.HttpGetPostReceiveHook" level="DEBUG"/>
Does it need a restart of Bitbucket to apply the change? Thanks Martin
Comments (4)
-
reporter -
Hi Martin,
sorry for replying so late - must have overlooked your issue :-/
If you change it in the logback.xml, a restart is required. But there is also a way to enable logging in a running instance. This is described here: https://confluence.atlassian.com/bitbucketserver/bitbucket-server-debug-logging-776640147.html
An easier way to do the requests to the REST-API is to use the Rest Browser in the Admin Area:
The GET request will show you, which level is set for the logger "de.aeffle.stash.plugin.hook.HttpGetPostReceiveHook". With the POST you can change the level.
Best, Alex
-
The REST-API browser should be installed by default - if not, it can be found here: https://marketplace.atlassian.com/plugins/com.atlassian.labs.rest-api-browser/server/overview
-
- edited description
- changed status to resolved
- Log in to comment