Take action for errors in log

Lokesh 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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