Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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 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

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
Community showcase
Published in Marketplace Apps & Integrations

Happy New Year and Welcome New Marketplace Partner Program Partners!

Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...

820 views 7 24
Read article

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