Re: Colorized console

2015-04-04 Thread Robert Scholte
Indeed, that's how it should work. What's important to me is that the logging is *not* reduced to the plugin classes. So also Maven Core should switch to this new root logging level (for this thread), because that often gives the required info you need. Anyhow, it is a challenge, but I'm sure

Re: Colorized console

2015-04-04 Thread Igor Fedorenko
How do you expect this to work during multithreaded build, when there is more than one running plugin at any given time? What you probably want is some sort of thread-local logging level, which can be scoped to specific plugin and configured from the core. -- Regards, Igor On Sat, Apr 4, 2015,

Re: Colorized console

2015-04-04 Thread Robert Scholte
In case of logging frameworks you actually want to know the configuration before starting the application, in this case Maven. On my todo list is still a wish to change the logging level once reaching a specific plugin. Concrete: debugging is now way too verbose. In most cases you just want t

Re: Colorized console

2015-04-01 Thread Arnaud Héritier
Yes for now color settings have to be in ${MAVEN_HOME}/ conf/logging/log4j2.xml For it gives this : https://www.dropbox.com/s/ottf0nc11sscgsz/Screenshot%202015-04-01%2018.19.11.png?dl=0 But I agree we won't make everyone happy and people will want to adapt them On Wed, Apr 1, 2015 at 6:04 PM, Rom

Re: Colorized console

2015-04-01 Thread Arnaud Héritier
Right. In CI server we may have ansi colors (at least in jenkins) but yes we may consider to deactivate color with batch mode. Or we add a new command line option to turn it off. On Wed, Apr 1, 2015 at 5:48 PM, Manfred Moser wrote: > I agree we should activate colors by default, but only if the

Re: Colorized console

2015-04-01 Thread Romain Manni-Bucau
I'm +1 to have color by default but wonder if associated config shouldn't be in settings.xml. Personally my mvn often looks like: http://img11.hostingpics.net/pics/867383mvn.png Romain Manni-Bucau @rmannibucau | Blog | Github <

Re: Colorized console

2015-04-01 Thread Manfred Moser
I agree we should activate colors by default, but only if they are automatically turned OFF in batch mode so that logs in CI server runs are no invalidated in terms of readability. manfred Arnaud Héritier wrote on 01.04.2015 02:33: > Hi, > > Yesterday I rebased, cleaned and updated the slf4j

Colorized console

2015-04-01 Thread Arnaud Héritier
Hi, Yesterday I rebased, cleaned and updated the slf4j-log4j2 branch It is only one useful commit now : https://github.com/apache/maven/commit/dbad2e536a7024a277eef1c56eaa2286f9f2a7f9 We should consider to integrate it in the next minor release I think The fact that log4j2 is Java6+ is n

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-09 Thread Arnaud Héritier
;>> > OK, 3.1.1 or 3.1-m2 or whatever before Christmas. Let's get this fish >>>> > out of the store and move on to the next one. >>>> > >>>> > On Sat, Dec 1, 2012 at 1:31 PM, Gary Gregory >>>> > wrote: >>>> > > Oh

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-09 Thread Arnaud Héritier
I don't think this should > >> affect rolling the 3.1.0. > >> > >> On Dec 1, 2012, at 6:57 AM, Arnaud Héritier > wrote: > >> > >>> I pushed the prototype developed by olivier using log4j2 in the > >>> branch featur

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-09 Thread Gary Gregory
et's get this fish >>>> > out of the store and move on to the next one. >>>> > >>>> > On Sat, Dec 1, 2012 at 1:31 PM, Gary Gregory >>>> > wrote: >>>> > > Oh do please give us a color console for Christmas :)

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-09 Thread Robert Scholte
started a logback version, but I don't think this should > affect rolling the 3.1.0. > >> > >> On Dec 1, 2012, at 6:57 AM, Arnaud Héritier > wrote: > >> > >>> I pushed the prototype developed by olivier using log4j2 in the > >>> branch

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-08 Thread Jason van Zyl
7 PM, Jason van Zyl wrote: > >> I already have started a logback version, but I don't think this should >> affect rolling the 3.1.0. >> >> On Dec 1, 2012, at 6:57 AM, Arnaud Héritier wrote: >> >>> I pushed the prototype developed by olivier using l

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-04 Thread ceki
On 04.12.2012 19:18, Jason van Zyl wrote: > I've been talking to Ceki about configuration in SLF4J as there is > really no way to change the log level without assuming an > implementation. If that's the way then for embedding the user can > change the SLF4J implementation but for the CLI this wil

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-04 Thread Olivier Lamy
Jason van Zyl wrote: >> >>> I already have started a logback version, but I don't think this should >>> affect rolling the 3.1.0. >>> >>> On Dec 1, 2012, at 6:57 AM, Arnaud Héritier wrote: >>> >>>> I pushed the prototype developed by

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-04 Thread Jason van Zyl
ing the 3.1.0. >> >> On Dec 1, 2012, at 6:57 AM, Arnaud Héritier wrote: >> >>> I pushed the prototype developed by olivier using log4j2 in the >>> branch feature/colorized-console/log4j2 >>> I updated with latest master changes >>> You can t

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-04 Thread Arnaud Héritier
e 3.1.0. > > On Dec 1, 2012, at 6:57 AM, Arnaud Héritier wrote: > > > I pushed the prototype developed by olivier using log4j2 in the > > branch feature/colorized-console/log4j2 > > I updated with latest master changes > > You can test the distro of this code : http

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-03 Thread Marc Pasteur
n Sat, Dec 1, 2012 at 1:31 PM, Gary Gregory > >> > wrote: > >> > > Oh do please give us a color console for Christmas :) > >> > > > >> > > Gary > >> > > > >> > > On Dec 1, 2012, at 12:47, Jason van Zyl w

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-03 Thread Arnaud Héritier
this fish > >> > out of the store and move on to the next one. > >> > > >> > On Sat, Dec 1, 2012 at 1:31 PM, Gary Gregory > >> > wrote: > >> > > Oh do please give us a color console for Christmas :) > >> > > > >

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-03 Thread Arnaud Héritier
> > > On Dec 1, 2012, at 12:47, Jason van Zyl wrote: > > > > > > > >> I already have started a logback version, but I don't think this > > should > > > affect rolling the 3.1.0. > > > >> > > > >> On Dec 1, 20

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-03 Thread Gary Gregory
e: > >> > > Oh do please give us a color console for Christmas :) > >> > > > >> > > Gary > >> > > > >> > > On Dec 1, 2012, at 12:47, Jason van Zyl wrote: > >> > > > >> > >> I alrea

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-03 Thread Olivier Lamy
12 at 1:31 PM, Gary Gregory >> > wrote: >> > > Oh do please give us a color console for Christmas :) >> > > >> > > Gary >> > > >> > > On Dec 1, 2012, at 12:47, Jason van Zyl wrote: >> > > >> > >> I already

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-03 Thread Marc Pasteur
> > >> I already have started a logback version, but I don't think this > should > > affect rolling the 3.1.0. > > >> > > >> On Dec 1, 2012, at 6:57 AM, Arnaud Héritier > > wrote: > > >> > > >>> I pushed the prototype deve

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-02 Thread Arnaud Héritier
naud Héritier > wrote: > >> > >>> I pushed the prototype developed by olivier using log4j2 in the > >>> branch feature/colorized-console/log4j2 > >>> I updated with latest master changes > >>> You can test the distro of this code : http://cl.ly

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-02 Thread Arnaud Héritier
think this should > affect rolling the 3.1.0. > > On Dec 1, 2012, at 6:57 AM, Arnaud Héritier wrote: > > > I pushed the prototype developed by olivier using log4j2 in the > > branch feature/colorized-console/log4j2 > > I updated with latest master changes > &g

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-02 Thread Arnaud Héritier
> > Le samedi 1 décembre 2012 09:17:52 Arnaud Héritier a écrit : > > > > Hi Jason, > > > > > > > > Couldn't we have a look at olamy's log4j2 branch to see if we could > > > > sanitize / merge it to propose at least one change for the

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-01 Thread Anders Hammar
Hervé > > > > Le samedi 1 décembre 2012 09:17:52 Arnaud Héritier a écrit : > > > Hi Jason, > > > > > > Couldn't we have a look at olamy's log4j2 branch to see if we could > > > sanitize / merge it to propose at least one change for the end use

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-01 Thread Benson Margulies
n Zyl wrote: > >> I already have started a logback version, but I don't think this should >> affect rolling the 3.1.0. >> >> On Dec 1, 2012, at 6:57 AM, Arnaud Héritier wrote: >> >>> I pushed the prototype developed by olivier using log4j2 in the &g

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-01 Thread Gary Gregory
gt; I pushed the prototype developed by olivier using log4j2 in the >> branch feature/colorized-console/log4j2 >> I updated with latest master changes >> You can test the distro of this code : http://cl.ly/1B1z051O0T10 >> >> Tonight I'll try to do a logback version

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-01 Thread Jason van Zyl
I already have started a logback version, but I don't think this should affect rolling the 3.1.0. On Dec 1, 2012, at 6:57 AM, Arnaud Héritier wrote: > I pushed the prototype developed by olivier using log4j2 in the > branch feature/colorized-console/log4j2 > I updated with

Re: Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-01 Thread Arnaud Héritier
I pushed the prototype developed by olivier using log4j2 in the branch feature/colorized-console/log4j2 I updated with latest master changes You can test the distro of this code : http://cl.ly/1B1z051O0T10 Tonight I'll try to do a logback version cheers Arnaud On Sat, Dec 1, 2012 at 11:

Colorized console and logging implementation choice was Re: Re-spinning 3.1.0

2012-12-01 Thread Arnaud Héritier
ud > > Regards, > > Hervé > > Le samedi 1 décembre 2012 09:17:52 Arnaud Héritier a écrit : > > Hi Jason, > > > > Couldn't we have a look at olamy's log4j2 branch to see if we could > > sanitize / merge it to propose at least one change for