org.apache.jdo.util
Class JDOJdk14Logger

java.lang.Object
  extended byorg.apache.commons.logging.impl.Jdk14Logger
      extended byorg.apache.jdo.util.JDOJdk14Logger
All Implemented Interfaces:
org.apache.commons.logging.Log, java.io.Serializable

public class JDOJdk14Logger
extends org.apache.commons.logging.impl.Jdk14Logger

JDO-specific subclass of the apache commons logging Log implementation that wraps the standard JDK 1.4 logging. This class configures the JDK LogManager using a properties file called logging.properties found via the CLASSPATH.

Since:
1.1
Version:
1.1
Author:
Michael Bouschen
See Also:
Serialized Form

Field Summary
private static boolean configured
          Indicates whether JDK 1.4 logging has been configured by this class.
private static I18NHelper msg
          I18N support.
static java.lang.String PROPERIES_FILE
          Logging properties file name.
 
Fields inherited from class org.apache.commons.logging.impl.Jdk14Logger
dummyLevel, logger, name
 
Constructor Summary
JDOJdk14Logger(java.lang.String name)
          Constructor checking whether JDK 1.4 logging should be configuared after calling super constructor.
 
Method Summary
private  void configureJDK14Logger()
          Configures JDK 1.4 LogManager.
 
Methods inherited from class org.apache.commons.logging.impl.Jdk14Logger
debug, debug, error, error, fatal, fatal, getLogger, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, trace, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERIES_FILE

public static final java.lang.String PROPERIES_FILE
Logging properties file name.

See Also:
Constant Field Values

configured

private static boolean configured
Indicates whether JDK 1.4 logging has been configured by this class.


msg

private static final I18NHelper msg
I18N support.

Constructor Detail

JDOJdk14Logger

public JDOJdk14Logger(java.lang.String name)
Constructor checking whether JDK 1.4 logging should be configuared after calling super constructor.

Method Detail

configureJDK14Logger

private void configureJDK14Logger()
Configures JDK 1.4 LogManager.