Skip to content

Improve configuration error handling of HttpAppender #3011

Closed
@ppkarwasz

Description

@ppkarwasz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appendersAffects one or more Appender pluginsbugIncorrect, unexpected, or unintended behavior of existing codewaiting-for-userMore information is needed from the user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions