commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Felix-Henry" <cfelixhe...@scort.com>
Subject [Logging] Why Jdk14Logger contructor sets log level to INFO ?
Date Mon, 29 Apr 2002 13:01:58 GMT
I don't understand why Jdk14Logger overwrites the JDK1.4 logging
configuration file settings.
Here is the Jdk14Logger constructor:

   public Jdk14Logger(String name) {

        logger = Logger.getLogger(name);
        logger.setUseParentHandlers(true);
        logger.setLevel(Level.INFO);
   }

The java.util.logging.Logger should be configured with the config file
settings.
I think the two lines that sets properties should be removed.


I have an other problem with JDK1.4 logging. The name of the class that
issued the logging request is always
"org.apache.commons.logging.impl.Jdk14Logger". Is it possible to  work
around this problem ?

Christophe



--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message