Hi Mr. Sese,

when we introduced commons-logging in one of our projects where log4j
already were used, we had the problem that the entire application could not
been loaded by Tomcat-7. The logs showed some wired
ClassNotFoundExceptions. It took us lots of time to find out, that we only
had to put a file with the name "commons-logging.properties" to the
classpath of the application with following content:

org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger

This solved our problem. Maybe it also will help you, or might show you a
hint to where your problem might be?

with kind regards
René Glanzer


2013/2/8 Albert Sese <albert.s...@gmail.com>

> Hi all,
>
> We recently updated our commons logging to 1.1.1, however our log4j
> configuration stopped working; everything gets logged to server.log. We are
> using an XML file for our log4j configuration, should this matter? Because
> in the commons logging website it only mentions a properties file.
>

Reply via email to