newrelic / java-log-extensions

Source for the New Relic Java log framework extensions.
Apache License 2.0
15 stars 22 forks source link

feat: added logback marker to JSON layout if present #52

Closed derylseale closed 2 years ago

derylseale commented 2 years ago

While Logback markers are typically used for triggering and filtering at the application level, they can also be useful in New Relic. In particular, our use case involves triggering alerts when certain markers are present. This pull request simply adds the marker to the JSON data if present.

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

kford-newrelic commented 2 years ago

@derylseale thanks for the PR! We'll review this as soon as we can - thanks again!