That didn't work for me, but following the instructions at the link you
gave, I placed a commons-logging.properties file in the classpath with
the following entries:

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

Works fine now, and by commenting out one or the other I can switch
between the two.

Thanks,
Glen

2008-05-09 James Strachan wrote:
> 2008/5/9 Glen Mazza <[EMAIL PROTECTED]>:
> > Hello,
> >
> >  For the Camel example here[1], does anyone know what the Maven pom.xml
> >  file changes would be to switch from log4j to JavaSE logging?  Log4J is
> >  configured at lines 49-57 of [1].
> 
> I've not tried it but from the docs
> http://commons.apache.org/logging/commons-logging-1.1.1/guide.html
> 
> it looks like just removing log4j from the pom will make
> commons-logging try and use the JDK 1.4 logging system
> 

Reply via email to