apache / apache/maven

Provide Platform Logging Service (System.LoggerFinder) in Maven

Open
#11,684 7 comments 0 reactions 1 assignee Claimed by @kwin View on GitHub
enhancement
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 40m
Merged PRs (30d)
275

Description

### New feature, improvement proposal

With [JEP 264](https://openjdk.org/jeps/264) Java supports pluggable logging implementations based on an [agnostic API](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/System.Logger.html). This API is used mostly internally in the JRE but also meanwhile in third party libraries (like in [Methanol Brotli](https://github.com/mizosoft/methanol/blob/b38976e52dc3386b71cbc2dba803631f72ec8f1a/methanol-brotli/src/main/java/com/github/mizosoft/methanol/brotli/internal/BrotliLoader.java#L50)).

Maven should provide a [`System.LoggerFinder`](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/System.LoggerFinder.html) service which logs with its implementation in https://github.com/apache/maven/tree/master/impl/maven-logging/src/main/java/org/apache/maven/slf4j.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.