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

Plugin does not log debug messages

Natalia May 24, 2017

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 votes
Ana Retamal Ortiz Atlassian Team May 29, 2017

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

Natalia Jun 05, 2017

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in United States

Topic Tuesday: Agile

Another week, another Topic Tuesday!  Agile has been on my mind a lot lately because I've seen good implementations and bad implementations, but now as a Jira admin it matters more to me whether...

40 views 0 0
View post

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