logging-log4j2 icon indicating copy to clipboard operation
logging-log4j2 copied to clipboard

Improve configuration error handling of `HttpAppender`

Open ppkarwasz opened this issue 1 year ago • 0 comments

As reported in this SO question if the HTTP appender does not have a configured layout, it fails with an NPE.

The correct behavior should be:

  • issue a status logger message at level ERROR,
  • return null.

ppkarwasz avatar Sep 24 '24 20:09 ppkarwasz