How to I use Java 1.4 logging?
Camel uses commons-logging which allows you to configure logging via
- Log4j
- JDK 1.4 logging
- Avalon
- SimpleLog - a simple provider in commons-logging
Refer to the commons-logging user guide for a more complete overview.
The quick way to enable Java 1.4 logging is to create a commons-logging.properties file on the classpath with this enttry...
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