commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: [logging] Current Status and Release Planning
Date Mon, 01 Mar 2004 02:35:32 GMT
Quoting Dennis Lundberg <dennis.lundberg@mdh.se>:

> I've been diffing the 1.0.3 release and the nightly from 20040229. I 
> thought that I would try the Lumberjack logging, but I can't see how it 
> could possibly work.

It would work if you also provided a JSR-47 compliant implementation of the
java.util.logging API classes that leveraged this underlying logging
implementation, as Lumberjack was originally reported to include.

> Here's a code snippet from LogFactoryImpl:
> 
> /**
>   * Is <em>JDK 1.3 with Lumberjack</em> logging available?
>   */
> protected boolean isJdk13LumberjackAvailable() {
>    try {
>      loadClass("java.util.logging.Logger");
>      loadClass("org.apache.commons.logging.impl.Jdk13LumberjackLogger");
>      return (true);
>    } catch (Throwable t) {
>      return (false);
>    }
> }
> 
> In a pre 1.4 environment the line
>      loadClass("java.util.logging.Logger");
> is going to throw an exception, isn't it? I mean all the Lumberjack 
> classes are in the com.redstarhacker.lumberjack package.
> 


> 
> On another note the version-numbers in build.xml and project.xml should 
> be changed to 1.0.4 before the release.
> 

They will be - thanks for the reminder.

> --
> Dennis Lundberg
> 

Craig


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


Mime
View raw message