It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Custom log4j.properties with Jira 5

Martin Stiborsky Mar 06, 2012

Hello,

I'm trying to enable some custom logging with log4.properties file for my plugin package, but still, it doesn't work.

Of course, I followed official documentation (like https://developer.atlassian.com/display/DOCS/Using+your+own+log4j+configuration+for+your+plugin) and many of others articles or threads here, but still no luck

When I enable the debugging directly in the Jira for my package, then it works. So maybe my log4j.properties file is being rewritten by Jira at atlas-run?

Also I have tried --log4j parameter for atlas-run, no luck as well :(

Could it be a problem with syntaxe of my custom log4.properties? Could you please show me correct version of such file?

Thanks!

2 answers

1 accepted

0 votes
Answer accepted
Martin Stiborsky Mar 07, 2012

Damn :( it was completely my fail, there was tiny typo in the log4j configuration :( Fixed…no problem now.

0 votes

One question is how to log form inside your pluggin without having to override atlassian log4j.properties ? Is it possilbe to do this? How?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Off-topic

Disney Live Action Reboots: Are you for or against?

Happy Friday Everyone! Today marks the international release of Disney's live action version of the animated classic Aladdin. I know that this movie was met with some controversy of over cast...

192 views 21 10
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you