Debug Log Setting outdated

Issue #29 resolved
Martin, SCM Support created an issue

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)

  1. Alexander Renteln

    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: bitbucket-change-log-levels.PNG

    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

  2. Log in to comment