How do I use Java 1.4 logging?

Camel uses sfl4j which allows you to configure logging via, among others:

The quick way to enable Java 1.4 logging is to create a commons-logging.properties file on the classpath with this entry...

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

Many thanks to Glen Mazza for figuring this out (smile)

  • No labels