You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Mark Struberg <st...@yahoo.de> on 2012/02/08 19:27:17 UTC
any plans for commons-logging-2.0?
Hi folks!
Over at the DeltaSpike we are discussing about a generic logging layer which we can exchange easily.
We have been reluctant to use slf4j because some containers use different layers etc. But jul is also not really satisfying.
It should be easily shadeable and use java6 features like variable-argument parameters, typesafe logging, etc
Would there be some interest for creating a commons-logging-2.0?
We could also use this in OpenWebBeans, TomEE, etc
We could also do the prototyping in DeltaSpike. There are also a few DeltaSpike committers which previously worked on JBoss logging.
LieGrue,
strub
PS: this is currently in the 'crazy brainstorming' phase, so nothing decided yet on our side...
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: any plans for commons-logging-2.0?
Posted by "ralph.goers @dslextreme.com" <ra...@dslextreme.com>.
On Wed, Feb 8, 2012 at 1:06 PM, Mark Struberg <st...@yahoo.de> wrote:
> Hi Ralph!
>
> I took a pretty deep look into log4j-2.0 already (even used it for a few
> sample projects). But I was not aware that it's also an abstraction
> layer/facade ^^
> So by using log4j-2.0 in DeltaSpike, a container vendor could mix and
> match with other logging frameworks?
>
> As I said, although it has an API that is separate from the
implementation, the intention was not to create a logging facade to compete
with SLF4J or Commons Logging. I'm sure it would be possible to use it for
that.
That said, some of the other features you were mentioning sounded like
things that would be worthy of adding to Log4j 2. It has been moved out of
my private sandbox so if there is something you would like to do you are
more than welcome.
Ralph
Ralph
Re: any plans for commons-logging-2.0?
Posted by Mark Struberg <st...@yahoo.de>.
Hi Ralph!
I took a pretty deep look into log4j-2.0 already (even used it for a few sample projects). But I was not aware that it's also an abstraction layer/facade ^^
So by using log4j-2.0 in DeltaSpike, a container vendor could mix and match with other logging frameworks?
LieGrue,
strub
----- Original Message -----
> From: "ralph.goers @dslextreme.com" <ra...@dslextreme.com>
> To: Commons Developers List <de...@commons.apache.org>; Mark Struberg <st...@yahoo.de>
> Cc:
> Sent: Wednesday, February 8, 2012 8:20 PM
> Subject: Re: any plans for commons-logging-2.0?
>
> You could look at the Log4j 2 API, but while it supports multiple
> implementations, is really designed to be an abstraction layer so that
> user's have a clear line between the API and implementation. For the time
> being you can find the documentation at
> http://people.apache.org/~rgoers/log4j2/. FWIW, Log4j 2 supports using
> SLF4J as the API to access it as well as Commons Logging. However, its API
> contains more features than either.
>
> Also,
>
> Ralph
>
> On Wed, Feb 8, 2012 at 10:27 AM, Mark Struberg <st...@yahoo.de> wrote:
>
>> Hi folks!
>>
>> Over at the DeltaSpike we are discussing about a generic logging layer
>> which we can exchange easily.
>> We have been reluctant to use slf4j because some containers use different
>> layers etc. But jul is also not really satisfying.
>>
>>
>> It should be easily shadeable and use java6 features like
>> variable-argument parameters, typesafe logging, etc
>>
>> Would there be some interest for creating a commons-logging-2.0?
>>
>> We could also use this in OpenWebBeans, TomEE, etc
>>
>>
>> We could also do the prototyping in DeltaSpike. There are also a few
>> DeltaSpike committers which previously worked on JBoss logging.
>>
>> LieGrue,
>> strub
>>
>> PS: this is currently in the 'crazy brainstorming' phase, so
> nothing
>> decided yet on our side...
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: any plans for commons-logging-2.0?
Posted by "ralph.goers @dslextreme.com" <ra...@dslextreme.com>.
You could look at the Log4j 2 API, but while it supports multiple
implementations, is really designed to be an abstraction layer so that
user's have a clear line between the API and implementation. For the time
being you can find the documentation at
http://people.apache.org/~rgoers/log4j2/. FWIW, Log4j 2 supports using
SLF4J as the API to access it as well as Commons Logging. However, its API
contains more features than either.
Also,
Ralph
On Wed, Feb 8, 2012 at 10:27 AM, Mark Struberg <st...@yahoo.de> wrote:
> Hi folks!
>
> Over at the DeltaSpike we are discussing about a generic logging layer
> which we can exchange easily.
> We have been reluctant to use slf4j because some containers use different
> layers etc. But jul is also not really satisfying.
>
>
> It should be easily shadeable and use java6 features like
> variable-argument parameters, typesafe logging, etc
>
> Would there be some interest for creating a commons-logging-2.0?
>
> We could also use this in OpenWebBeans, TomEE, etc
>
>
> We could also do the prototyping in DeltaSpike. There are also a few
> DeltaSpike committers which previously worked on JBoss logging.
>
> LieGrue,
> strub
>
> PS: this is currently in the 'crazy brainstorming' phase, so nothing
> decided yet on our side...
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
Re: [logging] Re: any plans for commons-logging-2.0?
Posted by Torsten Curdt <tc...@vafer.org>.
> Anyway, if there are some reasons to continue working I would welcome
> Torstens approach of course! Not that I want to take out the
> enthusiasm here
I am also not sure it's worth the effort TBH.
FWIW: for libraries I ended up usually having no logging dependency at
all and for projects I just pick an implementation.
This world has already spent enough time and energy on logging frameworks IMO.
cheers,
Torsten
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [logging] Re: any plans for commons-logging-2.0?
Posted by Christian Grobmeier <gr...@gmail.com>.
Sorry to ask a bit naive, but does cl2.0 make sense with log4j 2.0 in
mind? It seems log4j 2.0 does have such an abstraction and there is
slf4j too. Probably it is time to go dormant instead?
Anyway, if there are some reasons to continue working I would welcome
Torstens approach of course! Not that I want to take out the
enthusiasm here
On Wed, Feb 8, 2012 at 9:35 PM, Simone Tripodi <si...@apache.org> wrote:
> hi guys,
> you have the full support also from my side, a fresh new era of
> commons-components has to born.
> I am +1 to work on a commons-logging-2.0. "It's clobberin' time!"
>
> all the best,
> -Simo
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/
>
>
>
> On Wed, Feb 8, 2012 at 8:24 PM, Gary Gregory <ga...@gmail.com> wrote:
>> On Wed, Feb 8, 2012 at 1:40 PM, Torsten Curdt <tc...@vafer.org> wrote:
>>
>>> > Would there be some interest for creating a commons-logging-2.0?
>>>
>>> I had some code for CL2 version. Basically commons 1.x but without the
>>> detection logic.
>>> So you pick the implementation by having the right jar in the
>>> classpath. Not sure I still have it.
>>>
>>> At some stage I just gave up. Mostly because I feared the discussions.
>>> Logging is always power drainer because of all the bike shedding
>>> ...but feel free to bring it on :)
>>>
>>
>> Yeah, bring it on! :)
>>
>> Gary
>>
>>
>>> cheers,
>>> Torsten
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>>> For additional commands, e-mail: dev-help@commons.apache.org
>>>
>>>
>>
>>
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
>> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
--
http://www.grobmeier.de
https://www.timeandbill.de
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [logging] Re: any plans for commons-logging-2.0?
Posted by Simone Tripodi <si...@apache.org>.
hi guys,
you have the full support also from my side, a fresh new era of
commons-components has to born.
I am +1 to work on a commons-logging-2.0. "It's clobberin' time!"
all the best,
-Simo
http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/
On Wed, Feb 8, 2012 at 8:24 PM, Gary Gregory <ga...@gmail.com> wrote:
> On Wed, Feb 8, 2012 at 1:40 PM, Torsten Curdt <tc...@vafer.org> wrote:
>
>> > Would there be some interest for creating a commons-logging-2.0?
>>
>> I had some code for CL2 version. Basically commons 1.x but without the
>> detection logic.
>> So you pick the implementation by having the right jar in the
>> classpath. Not sure I still have it.
>>
>> At some stage I just gave up. Mostly because I feared the discussions.
>> Logging is always power drainer because of all the bike shedding
>> ...but feel free to bring it on :)
>>
>
> Yeah, bring it on! :)
>
> Gary
>
>
>> cheers,
>> Torsten
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>
>>
>
>
> --
> E-Mail: garydgregory@gmail.com | ggregory@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
Re: [logging] Re: any plans for commons-logging-2.0?
Posted by Gary Gregory <ga...@gmail.com>.
On Wed, Feb 8, 2012 at 1:40 PM, Torsten Curdt <tc...@vafer.org> wrote:
> > Would there be some interest for creating a commons-logging-2.0?
>
> I had some code for CL2 version. Basically commons 1.x but without the
> detection logic.
> So you pick the implementation by having the right jar in the
> classpath. Not sure I still have it.
>
> At some stage I just gave up. Mostly because I feared the discussions.
> Logging is always power drainer because of all the bike shedding
> ...but feel free to bring it on :)
>
Yeah, bring it on! :)
Gary
> cheers,
> Torsten
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
--
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
[logging] Re: any plans for commons-logging-2.0?
Posted by Torsten Curdt <tc...@vafer.org>.
> Would there be some interest for creating a commons-logging-2.0?
I had some code for CL2 version. Basically commons 1.x but without the
detection logic.
So you pick the implementation by having the right jar in the
classpath. Not sure I still have it.
At some stage I just gave up. Mostly because I feared the discussions.
Logging is always power drainer because of all the bike shedding
...but feel free to bring it on :)
cheers,
Torsten
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org