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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • 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

Scriptrunner logs

Hello everybody. I can see only WARN and ERROR level logs in jira. (I mean in jira post functions or in script Listeners) How can I set DEBUG and INFO levels to watch in jira? And may be there're some log files in file system or logs are in catalina.out or somwhere else?

1 answer

1 accepted

1 vote
Answer accepted
import org.apache.log4j.Level
// set value to DEBUG if output needed
log.setLevel(Level.INFO)'this will now be written')
log.debug('set to debug to see this too')

It means that WARN level set by default? And is there log files in file system? 

Leonard Chew Community Leader Nov 13, 2019

Yes, exactly.

Every script is per default run with log level warning.

As warning outputs are not nice to have in the log outputs (indicating something is wrong), I always use debug and info messages in my scripts and activate the output by setting the log level.

My Scripts all start with the import of the log4j Level Class, as to easily activate the output if needed.

Like aas likes this

Suggest an answer

Log in or Sign up to answer

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