You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Craig R. McClanahan" <cr...@apache.org> on 2004/03/01 03:35:32 UTC
Re: [logging] Current Status and Release Planning
Quoting Dennis Lundberg <de...@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