How do I use Java 1.4 logging?

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

Camel 2.6 or lower uses commons-logging which allows you to configure logging via, among others:

Refer to the commons-logging user guide for a more complete overview of how to use and configure commons-logging.

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

© 2004-2011 The Apache Software Foundation.
Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram