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 Join to answer
Community showcase
Piotr Plewa
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...

656 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot