How to add logging to a bitbucket 4.11 plugin?

I have a plugin that I am maintaining that was developed in house. It appears that logging was implemented according to this article: https://community.atlassian.com/t5/Answers-Developer-Questions/How-do-I-add-logging-to-my-stash-plugin/qaq-p/545116.

I know that the plugin logging used to go to atlassian-bitcbucket.log when we were on 3.x and I'm pretty sure after the upgrade to 4.x.

At somepoint we upgraded to Bitbucket 4.11.2, and the logging seems to have stopped working as I can not find any logging in the atlassian-bitbucket.logs any longer.

 

Does anyone have any experience or advice with this? Could someone point me to how to create a separate log file for the plugin to log to?

0 answers

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,048 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you