Forums

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

Take action for errors in log

Lokesh
Contributor
December 11, 2018

Hi,

We would like to create some service which can monitor logs in Jira (e.g. atlassian-jira.log), for 'FATAL', 'ERROR' & 'WARN' & create an issue 

How can this be achieved ?

Any thoughts much appreciated ?

Thanks

Lokesh

 

1 answer

0 votes
Tom Lister
Community Champion
December 12, 2018

Hi @Lokesh

Some options to consider.

Logging is via log4j libraries and you could add your own appenders e.g.

an SMTP appender to send email to a Jira mail listener.

a HTTP appender to make a REST API call

 

https://confluence.atlassian.com/adminjiraserver073/logging-and-profiling-861253813.html

https://logging.apache.org/log4j/2.x/manual/appenders.html#HttpAppender

Suggest an answer

Log in or Sign up to answer