commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joerg <jo...@j-hohwiller.de>
Subject Re: [logging] proposal
Date Tue, 02 Aug 2005 22:51:09 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Robert,

robert burrell donkin wrote:
> [cut.]
> 
> 
> i see no reason (so far) to veto :) 
:)
> 
> i've been thinking for a few months now that the long term solution to
> the difficulties associated with bridging APIs might be a logging
> specification (*not* an implementation which is IMHO where we've been
> going wrong). 
I am on your side.
> 
> this would take ceki's static binding to another level: the
> specification should describe only a logging API with all the discovery
> and so on left entirely to the implementation. retrofitting this to JCL
> would allow slf4j to replace JCL (and the opposite) by just replacing
> the jars in the classpath. it would also provide a very clean way for
> JCL to provide specific implementations for specific purposes. 
> 
> given the backing of the JCL committers and the slf4j subscribers, i
> really think that this approach would stand a good chance of creating
> sufficient momentum to unify the various bridges out there. i've been
> thinking of posting a proposal to slf4j (but had been considering
> waiting until the slf4j interface was more mature).
> 
> opinions welcomed
> 
> i'd also be very interested to hear what the experts on the slf4j make
> of these ideas. Jörg and/or joerg: want to volunteer to raise it?
> 
> 
> [cut]
> 
> i hope to have a bit more time now but i've now lost track of where we
> are....
> 
> - robert

just to get it right:
Is JCL = Jakarta Commons Logging?

lf4j is the "Simple Logging Facade for Java"
and ceki the founder and they have
http://www.slf4j.org/api/org/slf4j/Logger.html
which is very similar to
http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/Log.html

slf4j seems to have two loglevels less than commons-logging (trace and
fatal). I personaly would miss these levels a lot!

Hope thats all correct.

Anyways your suggestion was to bring the ideas of both projects together
and have one Log(ger) interface (and maybe do not waste performance by
adapters), is that correct? Maybe there was a lot more behind this but I
am not too deep in that to get it.

Well good idea if there are chances to make this happen. Even cooler
would be if that API would go as JSR into the JDK, wow! But, mmh besides
all my enthusiasm that is not going to be the next step esp. after the
exisiting jdk logger :)
For me the first step was to have these extension method to
commons-logging and make it fill the needs of the joergs and many other
people out there.

I would not mind involving the slf4j community but cross-discussions on
different mailing lists is not to easy to track and I would not like to
loose the focus on this one.
But I will subscribe to slf4j list and invite them to come into this
discussion. Does that somehow match a little of your intention.
(I better wait for response).

Take care
  Jörg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC7/jdmPuec2Dcv/8RAjV3AJwJQ67JVX6vqp4iKOdwW06CeacDJgCeJOez
WBPy59BZ1xRPKYMS7iIgpQU=
=A5HE
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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