treyfarmigoni opened a new pull request, #4063: URL: https://github.com/apache/logging-log4j2/pull/4063
Allow filtering in printMessage based on log4j.plugin.processor.minAllowedMessageKind Issue details discussed here https://github.com/apache/logging-log4j2/discussions/3380#discussioncomment-11967458 > Add an log4j.plugin.processor.minAllowedMessageKind argument to PluginProcessor and use it to filter printMessage() calls based on the provided Diagnostic.Kind Document the issue and the property in [Registering plugins](https://logging.apache.org/log4j/2.x/manual/plugins.html#plugin-registry) in a %collapsible ## Checklist * Base your changes on `2.x` branch if you are targeting Log4j 2; use `main` otherwise * `./mvnw verify` succeeds ([the build instructions](https://logging.apache.org/log4j/2.x/development.html#building)) * Non-trivial changes contain an entry file in the `src/changelog/.2.x.x` directory * Tests are provided -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
