Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

How do I use Java 1.4 logging?

Include Page
Uses Commons Logging
Uses 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...

Code Block
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)