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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

135 views 16 7
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