What package do I set to DEBUG in order for log.debug to work in my groovy script?

There are so many packages listed in the Logging and Profiling page.  My groovy scripts only log with log.warn right now.  I'd like to change that to log.debug, but I don't know which package to set to DEBUG logging.


Hope this makes sense.



1 answer

Added the following to my groovy script (called as a post function after the issue is created) and the only message in the log is the "warn" message. import org.apache.log4j.Level import org.apache.log4j.Logger Logger.getLogger("com.onresolve.jira.groovy").setLevel(Level.DEBUG) log.warn "warn - in membership-report.groovy" log.debug "debug - in membership-report.groovy"

It should be: log.getLogger("com.onresolve.jira.groovy").setLevel(Level.DEBUG)

actually ignore that, just run the script in the wiki page alone, that should set the level to debug.

I've had the same problem recently

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,317 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot