Hi Ceki,
<br/><br/>To me the value add is to be able to execute code already using SLF4J
<br/>from a Maven plugin and view its output in the console. For example,
<br/>I am working on a code generator project that has a large core module
<br/>and separate modules which expose the API as an Ant Task and a Maven
<br/>Mojo. The core module uses SLF4J and I'd like to be able to see its
<br/>logging output in the console when the Maven plugin is invoked. So
<br/>far Yegor's code seems to be the only way to do that.
<br/><br/>If I was writing a Maven plugin (and only a Maven plugin) from
<br/>scratch, I agree that I would tend to just using the Maven Log API
<br/>directly.
<br/><br/>-Cliff
<br/><br/><br/>On Wed, Aug 24, 2011 at 4:13 AM, Ceki Gulcu [via Slf4J]
<br/><<a href="/user/SendEmail.jtp?type=node&node=3281713&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:
<div class='shrinkable-quote'><br/>> Hello,
<br/>>
<br/>> Â From what I could gather it looks like Yegor's work [1] redirects
<br/>> logging calls made with SLF4J's API to Maven's logging. What is the
<br/>> value add in that? I guess org.slf4j.Logger is a little friendlier than
<br/>> org.apache.maven.plugin.logging.Log but what else?
<br/>>
<br/>> Another approach would be to redirect calls made to o.a.maven.p.l.Log to
<br/>> SLF4J unleashing the power of a full-fledged logging backend.
<br/>>
<br/>> WDYT?
<br/>>
<br/>> [1]
<br/>> <a href="http://trac.fazend.com/rempl/browser/rempl/trunk/plugins/plugin-maven/src/main/java/org/slf4j/impl" target="_top" rel="nofollow" link="external">http://trac.fazend.com/rempl/browser/rempl/trunk/plugins/plugin-maven/src/main/java/org/slf4j/impl</a><br/>>
<br/>>
<br/>> On 24/08/2011 9:10 AM, Erik Boye wrote:
<br/>>> Hello Cliff,
<br/>>>
<br/>>> Sorry late reply - I just got back from vacation.
<br/>>>
<br/>>> There has been no progress on this issue since my last e-mail.
<br/>>> I am waiting for feedback from Ceki to eventually take this further.
<br/>>>
<br/>>> Regards,
<br/>>> Erik
<br/>>>
<br/>>> -----Original Message-----
<br/>>> From: [hidden email] [mailto:[hidden email]] On Behalf Of cliff.meyers
<br/>>> Sent: 24. juli 2011 16:53
<br/>>> To: [hidden email]
<br/>>> Subject: Re: [slf4j-user] Maven logging binding for SLF4J?
<br/>>>
<br/>>>
<br/>>> Erik Boye wrote:
<br/>>>>
<br/>>>> I am happy to hear that you think SLF4J could be a good home for this
<br/>>>> code. To get the ball running I would suggest the following:
<br/>>>> - Name the project slf4j-maven, slf4j-mojo or slf4j-maven-logging.
<br/>>>> - The initial project structure and code could be based on Yegors
<br/>>>> codebase
<br/>>>> - as I think it is a better starting point, compared to my code.
<br/>>>>
<br/>>>>
<br/>>>> Please forward any updates on this to me (or the SLF4J users list).
<br/>>>>
<br/>>>
<br/>>> Hello, I was wondering if this effort ever moved forward at all? Â I am
<br/>>> writing a Mojo which depends on code that uses SLF4J. Â I would be
<br/>>> interested
<br/>>> in helping out with this if others have a similar interest.
<br/>>>
<br/>>> Thanks,
<br/>>>
<br/>>> Cliff
<br/>>>
<br/>>
<br/>> --
<br/>> QOS.ch, main sponsor of cal10n, logback and slf4j open source projects,
<br/>> is looking to hire talented software developers. For further details,
<br/>> see <a href="http://logback.qos.ch/job.html" target="_top" rel="nofollow" link="external">http://logback.qos.ch/job.html</a><br/>> _______________________________________________
<br/>> slf4j-user mailing list
<br/>> [hidden email]
<br/>> <a href="http://qos.ch/mailman/listinfo/slf4j-user" target="_top" rel="nofollow" link="external">http://qos.ch/mailman/listinfo/slf4j-user</a><br/>>
<br/>>
<br/>> ________________________________
<br/>> If you reply to this email, your message will be added to the discussion
<br/>> below:
<br/>> <a href="http://slf4j.42922.n3.nabble.com/Maven-logging-binding-for-SLF4J-tp2783905p3280344.html" target="_top" rel="nofollow" link="external">http://slf4j.42922.n3.nabble.com/Maven-logging-binding-for-SLF4J-tp2783905p3280344.html</a><br/>> To unsubscribe from Maven logging binding for SLF4J?, click here.
<br/></div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://slf4j.42922.n3.nabble.com/Maven-logging-binding-for-SLF4J-tp2783905p3281713.html">Re: Maven logging binding for SLF4J?</a><br/>
Sent from the <a href="http://slf4j.42922.n3.nabble.com/slf4j-user-f41810.html">slf4j - user mailing list archive</a> at Nabble.com.<br/>