Skip to content

Add support for JPMS layer/module filter for log events #3357

@ranger2025

Description

@ranger2025

I suggest to add possibility to filter log events by ModuleLayer and Module.

Every module (automatic and explicit) has a name, so, there shouldn't be any problems. But with layers situation is more difficult, as layers don't have names and there is DAG of layers. The only way to solve this problem is to create map layer -> name. I mean that log4j2 user must create this map and fill it with values.

It is important to note, that module with same name can exist in different layers, that's why specifying only module is not enough, if it is not boot layer.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions