[slf4j-user] Maven logging binding for SLF4J?

cliff.meyers cliff.meyers at gmail.com
Thu Aug 25 17:13:04 CEST 2011


Thanks for all the input Ceki.

Erik, maybe we can talk off the list as to how to proceed with this?

-Cliff
On Aug 25, 2011 11:06 AM, "Ceki Gulcu [via Slf4J]" <
ml-node+3284144-1323365496-417104 at n3.nabble.com> wrote:
>
>
>
> The license used in Yegor's code looks like it is BSD licensed (as is
> SLF4J) but copyrighted by REMPL.com which we cannot host at slf4j.org.
> You can either ask Yegor to donate his code or rewrite
> slf4j-maven/slf4j-mojo from scratch.
>
> Once you have a handle on the maven logger, see [1], the rest should be
> a trivial exercise. Just look at how slf4j-nop and slf4j-log4j12 are
> written. The only interesting question is the injection of the maven
> logger into your slf4j-binding, i.e. the MavenLoggerFactory instance.
>
> I imagine that would have to have a plugin with a mojo, say SLF4JMojo
> which would have a maven logger injected to it. The SLF4JMojo would then
> inject that logger into MavenLoggerFactory. The SLF4JMojo would need to
> be invoked at an early stage, say 'validate' or some such.
>
> Also note that SLF4J has a very slow release cycle. I would suggest to
> develop slf4j-maven/slf4j-mojo in a separate project with a different
> release cycle. Nevertheless, slf4j-maven/slf4j-mojo could be pushed into
> the maven repo under the org.slf4j groupId.
>
> Cheers,
>
> [1]
>
http://www.sonatype.com/books/mvnref-book/reference/writing-plugins-sect-custom-plugin.html#writing-plugins-sect-logging
>
> On 25/08/2011 4:15 PM, cliff.meyers wrote:
>> Hi Ceki and Erik,
>>
>> From reading the comments in Yegor's code, it appears to have no
>> restrictions on use as long as the copyright is attached. Would that
>> be compatible with SLF4J's licensing terms?
>>
>> If that is agreeable to you both, I could set up a github project
>> tomorrow or over the weekend.
>>
>> -Cliff
>>
>>
>> On Thu, Aug 25, 2011 at 5:08 AM, Ceki Gulcu [via Slf4J]
>> <[hidden email] </user/SendEmail.jtp?type=node&node=3283972&i=0>> wrote:
>>
>> > Hello Erik,
>> >
>> > How about creating a project on github so that we have some actual
>> > software to talk about? Once we have working software, we can find ways
>> > of publishing it for consumption by the wider public.
>> >
>> > On 25/08/2011 10:25 AM, Erik Boye wrote:
>> >> Hi,
>> >>
>> >> My use case is exactly the same as Cliff is describing. It seems
>> like we
>> >> all agree that creating a new SLF4J log binding, delegating to Maven
>> Log API
>> >> could be a useful contribution to the SLF4J community.
>> >>
>> >> How do we get the ball rolling?
>> >> I suggest going back to be my response to Ceki in April (see attached
>> >> e-mail). I did not get any response or comments to my suggestions
>> before
>> >> Cliff responded in late July.
>> >>
>> >> Regards,
>> >> Erik
>> >
>> > --
>> > QOS.ch, main sponsor of cal10n, logback and slf4j open source projects,
>> > is looking to hire talented software developers. For further details,
>> > see http://logback.qos.ch/job.html
>> > _______________________________________________
>> > slf4j-user mailing list
>> > [hidden email]
>> > http://qos.ch/mailman/listinfo/slf4j-user
>> >
>> >
>> > ________________________________
>> > If you reply to this email, your message will be added to the
discussion
>> > below:
>> >
>>
http://slf4j.42922.n3.nabble.com/Maven-logging-binding-for-SLF4J-tp2783905p3283405.html
>> > To unsubscribe from Maven logging binding for SLF4J?, click here.
>>
>> ------------------------------------------------------------------------
>> View this message in context: Re: Maven logging binding for SLF4J?
>> <
http://slf4j.42922.n3.nabble.com/Maven-logging-binding-for-SLF4J-tp2783905p3283972.html
>
>> Sent from the slf4j - user mailing list archive
>> <http://slf4j.42922.n3.nabble.com/slf4j-user-f41810.html> at Nabble.com.
>>
>>
>> _______________________________________________
>> slf4j-user mailing list
>> slf4j-user at qos.ch
>> http://qos.ch/mailman/listinfo/slf4j-user
>
>
> --
> QOS.ch, main sponsor of cal10n, logback and slf4j open source projects,
> is looking to hire talented software developers. For further details,
> see http://logback.qos.ch/job.html
> _______________________________________________
> slf4j-user mailing list
> slf4j-user at qos.ch
> http://qos.ch/mailman/listinfo/slf4j-user
>
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion
below:
>
http://slf4j.42922.n3.nabble.com/Maven-logging-binding-for-SLF4J-tp2783905p3284144.html
>
> To unsubscribe from Maven logging binding for SLF4J?, visit
http://slf4j.42922.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2783905&code=Y2xpZmYubWV5ZXJzQGdtYWlsLmNvbXwyNzgzOTA1fC0yMTA1MzYyNzI4


--
View this message in context: http://slf4j.42922.n3.nabble.com/Maven-logging-binding-for-SLF4J-tp2783905p3284170.html
Sent from the slf4j - user mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-user/attachments/20110825/05e0302d/attachment.html>


More information about the slf4j-user mailing list