title: Configuring WebLogic Logging for Commons Logging
body: <p>I'm writing a Spring web application deployed to a WebLogic 10.3.3 server. I've tried to enable logging as described by the Oracle documentation here: <a href="http://docs.oracle.com/cd/E14571_01/web.1111/e13739/config_logs.htm#WLLOG154" rel="nofollow">http://docs.oracle.com/cd/E14571_01/web.1111/e13739/config_logs.htm#WLLOG154</a></p>
  
  <p>Both commons-logging-1.1.1.jar and com.bea.core.weblogic.commons.logging_1.4.0.0.jar are placed in the lib folder of the WebLogic domain, and I'm attempting to initialize the logger exactly as described in the Oracle example. I see the following exception in the server console:</p>
  
  <blockquote>
    <p>Caused by: org.apache.commons.logging.LogConfigurationException: The chosen 
    LogFactory implementation does not extend LogFactory. Please check your 
    configuration. (Caused by java.lang.ClassCastException:weblogic.logging.commons.LogFactoryImpl)</p>
  </blockquote>
  
  <p>Does anyone know of any possible solutions?</p>