Skip to content

Multiple filter invocations in AsyncLoggerConfig #1550

Closed
@ppkarwasz

Description

@ppkarwasz

Description

The AsyncLoggerConfig calls AbstractFilterable#isFiltered(LogEvent) three times:

  • twice on the calling thread (for asynchronous and synchronous dispatch),
  • once on the logging thread.

While this is not a problem per se, this causes unnecessary problems to stateful filters like in micrometer-metrics/micrometer#2176.

Configuration

Version: 2.20.0

Metadata

Metadata

Assignees

Labels

bugIncorrect, unexpected, or unintended behavior of existing code

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions