You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ppkarwasz (via GitHub)" <gi...@apache.org> on 2023/07/12 09:04:21 UTC
[I] Multiple filter invocations in `AsyncLoggerConfig` (logging-log4j2)
ppkarwasz opened a new issue, #1550:
URL: https://github.com/apache/logging-log4j2/issues/1550
## Description
The `AsyncLoggerConfig` calls [`AbstractFilterable#isFiltered(LogEvent)`](https://logging.apache.org/log4j/2.x/log4j-core/apidocs/org/apache/logging/log4j/core/filter/AbstractFilterable.html#isFiltered-org.apache.logging.log4j.core.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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Multiple filter invocations in `AsyncLoggerConfig` (logging-log4j2)
Posted by "ppkarwasz (via GitHub)" <gi...@apache.org>.
ppkarwasz closed issue #1550: Multiple filter invocations in `AsyncLoggerConfig`
URL: https://github.com/apache/logging-log4j2/issues/1550
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org