Plugin does not log debug messages

N 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
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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

N June 5, 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
TAGS
AUG Leaders

Atlassian Community Events