How to view atlassian-jira-incoming-mail.log using ScriptRunner

CST JIRA Confluence Admin August 15, 2016

I want to see atlassian-jira-incoming-mail.log using ScriptRunner but currently only these options are available

atlassian-jira.log

atlassian-jira-outgoing-mail.log

atlassian -jira- slow -queries.log

 

How to enable that?

1 answer

1 vote
adammarkham
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.
August 16, 2016

Them options are pre-defined in the script, you can't add to them unfortunately.

Your only option for now is to write a script in the Script Console to do the reading for you or write your own built-in script. The following should help you to read from the end of the file: https://commons.apache.org/proper/commons-io/javadocs/api-2.2/org/apache/commons/io/input/ReversedLinesFileReader.html

Let me know how you get on with that.

JamieA
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.
August 29, 2016
CST JIRA Confluence Admin August 30, 2016

Thanks, Jamie

Suggest an answer

Log in or Sign up to answer