aschepp opened a new issue, #1983:
URL: https://github.com/apache/logging-log4j2/issues/1983

   ## Description
   
   The module log4j-to-slf4j currently uses the following module-info.class:
   
   ```
   module org.apache.logging.log4j.to.slf4j {
       requires java.base;
       requires org.apache.logging.log4j;
       requires slf4j-api;
   
       exports org.apache.logging.slf4j;
   
       provides org.apache.logging.log4j.spi.Provider with
           org.apache.logging.slf4j.SLF4JProvider;
   }
   ```
   
   This only works with slf4j 1.x, because the module name has changed with 
version 2.x of slf4j, it's now "org.slf4j".
   
   
https://github.com/qos-ch/slf4j/blob/master/slf4j-api/src/main/java9/module-info.java
   
   ## Configuration
   
   **Version:** 2.22.0
   
   **Operating system:** Linux/Mac
   
   **JDK:** Java 17
   
   ## Logs
   
   ```
   java.lang.module.FindException: Module slf4j-api not found, required by 
org.apache.logging.log4j.to.slf4j'.
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to