Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-2183

Integrate Log4J with Java 9's platform logging API

    XMLWordPrintableJSON

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

          Activity

            People

              Unassigned Unassigned
              nipa Nicolai Parlog
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: