Plugin does not log debug messages

Hi everyone

I developed plugin and it perfectly log debug events on remote server. Then I setuped Jira software local and plugin doesn't log debug events anymore on local computer and it write instead:

[DEBUG]: BeforeInstantiation [bean=*class.name*, type=*class.name*]
[DEBUG]: AfterInitialisation [bean=*class.name*, type=*class.name*]

Logging level is Debug.

log4j.properties:

log4j.appender.testplugin=com.atlassian.jira.logging.JiraHomeAppender

log4j.appender.testplugin.File=testplugin.log
log4j.appender.testplugin.MaxFileSize=20480KB
log4j.appender.testplugin.layout=org.apache.log4j.PatternLayout
log4j.appender.testplugin.layout.ConversionPattern=%d{dd-MM-yyyy HH:mm:ss.SSS} [%4p]: %m%n

log4j.logger.com.testplugin = DEBUG, console, testplugin
log4j.additivity.com.testplugin= false

Can you help me?

 

 

 

1 answer

0 vote

Hi Natalia! For questions like this one, my recommendation would be to post it at community.developer.atlassian.com, that's where our developer community hangs out :)

Cheers,

Ana

Thanks, but I think that's question is not for developers, when plugin log debug messages on one computer, and didn't log on other, problem is in setup options likely. 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Uncategorized

Friday fun: how many celebrates Midsummer holiday or is this a Swedish tradition only?

Any other country that celebrates Midsummer holiday (this friday 22 June)?  

46 views 3 1
Join discussion

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