PDA

View Full Version : How do I **not** use log4J


jodacro
Sep 24th, 2004, 01:21 PM
I'm getting the following at startup...

==> logs/resin.stderr <==
log4j:WARN No appenders could be found for logger (org.springframework.web.servlet.DispatcherServlet ).
log4j:WARN Please initialize the log4j system properly.

I want to use my own Logging framework (built on top of commons-logging). How do I tell Spring to not look for log4J and perhaps plug into a different logging api?

irbouho
Sep 24th, 2004, 04:13 PM
take a look at Configuring The Underlying Logging System (http://jakarta.apache.org/commons/logging/guide.html#Configuring%20The%20Underlying%20Loggin g%20System)

HTH