java-log-extensions icon indicating copy to clipboard operation
java-log-extensions copied to clipboard

[Spike] Provide an appender that will report any error log message as an error to New Relic

Open meiao opened this issue 6 months ago • 1 comments

Is your feature request related to a problem? Please describe.

Sometimes it is desirable that all the error log messages (and respective exception) be reported as an error to New Relic.

Feature Description

Provide a log appender that whenever receives an entry, if it is at Error level, will report an error to New Relic.

This appender can be configure in the logging configuration file and no change to the code should be necessary.

Describe Alternatives

Add a call to the API every time a error log message is written.

Instrument the logger code to make it call the API.

Priority

Nice to Have

meiao avatar Aug 13 '24 19:08 meiao