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

log4j-slf4j-impl does not provide slf4j with the service provider with Java 9

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 2.10.0
    • Fix Version/s: None
    • Component/s: SLF4J Bridge
    • Labels:
      None

      Description

      log4j-slf4j-impl does not 

      provides org.slf4j.spi.SLF4JServiceProvider with org.apache.logging.slf4j.SLF4JServiceProvider;

      (due to no module-info.java, and only an automatic module name, in the log4j-slf4j-impl project.

      When ran:

      SLF4J: No SLF4J providers were found.
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
      SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions prior to 1.8.
      SLF4J: Ignoring binding found at [jar:file://[redacted]/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#ignoredBindings for an explanation.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kashike Joshua Popoff
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: