Skip to content

Allow Plugin Processing Kind filtering#4063

Open
treyfarmigoni wants to merge 1 commit intoapache:2.xfrom
treyfarmigoni:feature/add-plugin-processor-kind-filtering
Open

Allow Plugin Processing Kind filtering#4063
treyfarmigoni wants to merge 1 commit intoapache:2.xfrom
treyfarmigoni:feature/add-plugin-processor-kind-filtering

Conversation

@treyfarmigoni
Copy link

Allow filtering in printMessage based on log4j.plugin.processor.minAllowedMessageKind

Issue details discussed here
#3380 (reply in thread)

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 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)
  • Non-trivial changes contain an entry file in the src/changelog/.2.x.x directory
  • Tests are provided

@treyfarmigoni treyfarmigoni force-pushed the feature/add-plugin-processor-kind-filtering branch from b893c7c to cff6451 Compare March 9, 2026 22:12
@treyfarmigoni treyfarmigoni marked this pull request as ready for review March 9, 2026 22:13
@treyfarmigoni
Copy link
Author

mvn verify passing
Screenshot 2026-03-09 at 5 08 22 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant