Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
JEP 264: Platform Logging API and Service introduced an API around `java.lang.System.Logger` and `java.lang.System.LoggerFinder` that the JDK uses to log internal messages, e.g. those from Swing and JavaFX (this does not extend to JVM logging). Third-party loggers like Log4J can integrate with this via services, so they can become the backend for these messages (instead of JUL).
Adapting to this API is not very hard - here's a proof of concept for SLF4J.
Attachments
Issue Links
- duplicates
-
LOG4J2-1360 Add bridge to JDK9 System.Logger interface
- Resolved