org.jbpm.log
Class Jdk14LogFactory

java.lang.Object
  extended by org.jbpm.log.Jdk14LogFactory
All Implemented Interfaces:
LogFactory

public class Jdk14LogFactory
extends java.lang.Object
implements LogFactory

Author:
Tom Baeyens

Constructor Summary
Jdk14LogFactory()
           
 
Method Summary
 Log getLog(java.lang.String name)
           
static void initializeJdk14Logging()
          configures JDK 1.4 logging from the resource file logging.properties
static void redirectCommonsToJdk14()
          redirects commons logging to JDK 1.4 logging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jdk14LogFactory

public Jdk14LogFactory()
Method Detail

getLog

public Log getLog(java.lang.String name)
Specified by:
getLog in interface LogFactory

redirectCommonsToJdk14

public static void redirectCommonsToJdk14()
redirects commons logging to JDK 1.4 logging. This can be handy when you have log4j on the classpath, but still want to use the JDK logging.


initializeJdk14Logging

public static void initializeJdk14Logging()
configures JDK 1.4 logging from the resource file logging.properties