Re: Logging api in plugins

2021-01-22 Thread Benjamin Marwell
https://maven.apache.org/maven-logging.html needs to be updated, but also some plugins where changes were already made. This was from slack: https://issues.apache.org/jira/browse/MNG-6931 And plugins pulling in slf4j directly happen all the time: https://github.com/apache/maven-artifact-plugin/pu

Re: Logging api in plugins

2021-01-22 Thread Robert Scholte
I agree that we should advice that Maven Plugins should use the provided logging API. I can't find the ticket anymore, but I've created one where it should be possible to scope the debug-logging for a specific goal. Most of the time you're interested in the debug logging of the last failed goal

Re: Logging api in plugins

2021-01-18 Thread Romain Manni-Bucau
Hi +1 to explicit it. About message formatting it is not critical for me and enables to switch the impl at will without being impl locked so maybe rather add lazy evaluation with lambdas like in jul. Le dim. 17 janv. 2021 à 22:42, Slawomir Jaranowski a écrit : > Hi, > > For developers logging

Logging api in plugins

2021-01-17 Thread Slawomir Jaranowski
Hi, For developers logging api in plugin will can be misunderstood, we don't have information that https://maven.apache.org/maven-logging.html is only for maven core. I think we should put information that plugins should only use org.apache.maven.plugin.logging.Log and why, maybe at page: https:

Re: Logging api in plugins

2019-12-02 Thread Slawomir Jaranowski
pon., 2 gru 2019 o 09:52 Jochen Wiedmann napisał(a): > On Thu, Nov 28, 2019 at 9:46 PM Slawomir Jaranowski > wrote: > > > I'm writing some maven plugins - some for fun and with public code but > more > > maven plugins I'm writing for job in my company. > > > > Maven from version 3.1.x use slf4j

Re: Logging api in plugins

2019-12-02 Thread Jochen Wiedmann
On Thu, Nov 28, 2019 at 9:46 PM Slawomir Jaranowski wrote: > I'm writing some maven plugins - some for fun and with public code but more > maven plugins I'm writing for job in my company. > > Maven from version 3.1.x use slf4j for logging. > > But plugin api still use simple logging api > org.apa

Logging api in plugins

2019-11-28 Thread Slawomir Jaranowski
Hi, I'm writing some maven plugins - some for fun and with public code but more maven plugins I'm writing for job in my company. Maven from version 3.1.x use slf4j for logging. But plugin api still use simple logging api org.apache.maven.plugin.logging.Log. It will be useful to have access to mo