ppkarwasz commented on issue #3620:
URL: 
https://github.com/apache/logging-log4j2/issues/3620#issuecomment-2812533780

   Closing this as duplicate of #3085.
   
   This is reproducible with:
   
   ```java
   org.apache.log4j Logger logger = org.apache.log4j.Logger.getLogger("foo");
   logger.log(Priority.DEBUG, "Hello world!");
   ```
   
   @kommone-bub,
   
   Commons Digester uses Commons Logging as logging API, so what happens in 
your case is:
   
   - You have an extremely **outdated** version of `commons-logging` (version 
`1.1.1` or earlier). Please **upgrade** to the latest version (`1.3.5`).
   - Try removing `log4j-1.2.-api` from your classpath and see if you are 
getting `NoClassDefFoundError`s. Most Java libraries have been using Commons 
Logging, SLF4J or another logging API since 20 years. There is a big chance 
that you don't need this artifact.


-- 
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

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

Reply via email to