Apache commons logging uses following discovery process: - If
file named commons-logging.properties exists in the class path and contains org.apache.commons.logging.Log=[L], then use [L]
as logging package. [L]
can be org.apache.commons.logging.impl.Log4JLogger or org.apache.commons.logging.impl.Jdk14Logger
- Use
org.apache.commons.logging.Log=[L] taken from system property if available.
- Use
Log4J if it can be found in the classpath
- Use Java Logging API if running on JDK 1.4 and up
- Use SimpleLog that sends all
the messages to STDERR
|