Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Scriptrunner for Jira Listener output to logs

Jon Starbird
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2018

I have several customer script listeners and I have found that log.info doesn't work at all. 

I can only get output to logs using log.warn or log.error. 

is there some flag I need to set someplace to allow it to do log.info correctly?

This is with Jira Server 7.6.1 and Scriptrunner 5.2.2

1 answer

1 accepted

1 vote
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2018

You need to set the Info log level for ScriptRunner in jira in System -> Logging and Profiling. Or define your own logger in your file and set the logger to the Info level.

You can find more info here:

https://www.adaptavist.com/doco/display/SFJ/Set+logging+to+help+debug+your+scripts

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events