apache / apache/logging-log4j2

Add support for JPMS layer/module filter for log events

Open
#3,357 7 comments 0 reactions 0 assignees View on GitHub
waiting-for-maintainer
Dominant language
Java
Stars
3.6k
Forks
1.7k
Avg merge
21h 30m
Merged PRs (30d)
27

Description

I suggest to add possibility to filter log events by [ModuleLayer](https://docs.oracle.com/javase/9/docs/api/java/lang/ModuleLayer.html) and [Module](https://docs.oracle.com/javase/9/docs/api/java/lang/Module.html).

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.