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

2012-12-09 Thread Arnaud Héritier
yes we discussed about it. That one reason why we should not activate it by default. We'll never find a solution that will satisfy everybody On Sun, Dec 9, 2012 at 2:25 PM, Robert Scholte wrote: > I've tested this on Windows, there's only one small issue: the info-text > is probably black, whic

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

2012-12-09 Thread Arnaud Héritier
Just tested it. It's working fine Thx a lot. On Sun, Dec 9, 2012 at 4:38 AM, Jason van Zyl wrote: > Arnaud, > > It's all in there now. While I was fixing the logging in embedded mode for > SLF4J Simple, I updated the Logback branch to do the same. > > I had to patch SLF4J Simple to get around s

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

2012-12-09 Thread Gary Gregory
ANSI can set the BG color... Gary On Dec 9, 2012, at 8:25, Robert Scholte wrote: > I've tested this on Windows, there's only one small issue: the info-text is > probably black, which makes it unreadable on the default background-color, > which is black as well. > The rest looks great! > > Op

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

2012-12-09 Thread Robert Scholte
I've tested this on Windows, there's only one small issue: the info-text is probably black, which makes it unreadable on the default background-color, which is black as well. The rest looks great! Op Mon, 03 Dec 2012 14:47:24 +0100 schreef Olivier Lamy : 2012/12/3 Marc Pasteur : hi, For

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

2012-12-08 Thread Jason van Zyl
Arnaud, It's all in there now. While I was fixing the logging in embedded mode for SLF4J Simple, I updated the Logback branch to do the same. I had to patch SLF4J Simple to get around some static initialization that doesn't work in embedded mode so I haven't updated trunk, but the Logback bran

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
I did that in the branches using sys props INFO When starting and before any slf4j access, MavenCli check -q or -X or none of both and correctly set the value to the level (INFO,ERROR,DEBUG) Works fine for all slf4j impls using this naming convention. 2012/12/4 Jaso

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

2012-12-04 Thread Jason van Zyl
On Dec 4, 2012, at 9:44 AM, Arnaud Héritier wrote: > Jason, > > I'll test more later but FYI it seems that your logback branch doesn't > support options -X/--debug > I've been talking to Ceki about configuration in SLF4J as there is really no way to change the log level without assuming an

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

2012-12-04 Thread Arnaud Héritier
Jason, I'll test more later but FYI it seems that your logback branch doesn't support options -X/--debug cheers Arnaud On Sat, Dec 1, 2012 at 6:47 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, 20

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

2012-12-03 Thread Marc Pasteur
works fine but as someone (don't remember who... arnaud maybe) said the color for info message is black so... not so readable on a black background :-) for "la vie en rose" i've to made a patch as only MAGENTA is allowed at the moment but that could be cute :-) it works neither in intellij nor in

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

2012-12-03 Thread Arnaud Héritier
I had the feedback (not tested myself) that the log4j2 (I suppose it is the same for the logback) adds colors in netbeans console. Arnaud On Mon, Dec 3, 2012 at 2:47 PM, Olivier Lamy wrote: > 2012/12/3 Marc Pasteur : > > hi, > > > > > > For the record according to log4j2 docs [1] you need some

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

2012-12-03 Thread Arnaud Héritier
yes it is the same thing for logback version For sure we'll provided it by default the day we'll provide this feature. On Mon, Dec 3, 2012 at 2:05 PM, Marc Pasteur wrote: > hi, > > > For the record according to log4j2 docs [1] you need some additional > library to make this works on Windows. >

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

2012-12-03 Thread Gary Gregory
On Mon, Dec 3, 2012 at 8:47 AM, Olivier Lamy wrote: > 2012/12/3 Marc Pasteur : > > hi, > > > > > > For the record according to log4j2 docs [1] you need some additional > > library to make this works on Windows. > > So if you don't want to display some ←[37m[ stuffs in the console > jansi.jar > >

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

2012-12-03 Thread Olivier Lamy
2012/12/3 Marc Pasteur : > hi, > > > For the record according to log4j2 docs [1] you need some additional > library to make this works on Windows. > So if you don't want to display some ←[37m[ stuffs in the console jansi.jar > mut be put on maven/lib/ext folder > > Can it be "by default" ? for sur

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

2012-12-03 Thread Marc Pasteur
hi, For the record according to log4j2 docs [1] you need some additional library to make this works on Windows. So if you don't want to display some ←[37m[ stuffs in the console jansi.jar mut be put on maven/lib/ext folder Can it be "by default" ? [1] http://logging.apache.org/log4j/2.x/manual

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

2012-12-02 Thread Arnaud Héritier
+1 I don't think we'll have another minor release before the end of the year. For sure it won't be included in a bug fix release. We already release a minor release without (or so few) end-user value, we won't start to add new feature in a bug fix release :-) Arnaud On Sat, Dec 1, 2012 at 7:33 P

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

2012-12-02 Thread Arnaud Héritier
Thanks a lot to have pushed it. I tested it with success I like it, at least something that will improve the user experience soon. Note : Like Olivier's branch the default logging setup has an issue because the default color is set to black (or white) which are backgrounds colors commonly used. Thi

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

2012-12-02 Thread Arnaud Héritier
I agree but sincerely I'm sure that less than 0,01% of our users will customize their logs. On Sat, Dec 1, 2012 at 9:27 PM, Anders Hammar wrote: > > In any case doing a choice nowadays for 3.1.0 won't prevent us to change > it > > in the future. I really hope that the ability to switch from a l

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

2012-12-01 Thread Anders Hammar
> In any case doing a choice nowadays for 3.1.0 won't prevent us to change it > in the future. I really hope that the ability to switch from a logger > implementation to another won't require several days of developments or I > really missed something about it. > Well, very likely it would affect

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

2012-12-01 Thread Benson Margulies
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 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-01 Thread Gary Gregory
Oh do please give us a color console for Christmas :) Gary 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, 2012, at 6:57 AM, Arnaud Héritier wrote: > >> I pushed the prototype de

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 latest master changes

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:15 AM,

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

2012-12-01 Thread Arnaud Héritier
On Sat, Dec 1, 2012 at 9:40 AM, Hervé BOUTEMY wrote: > I just created and fixed MNG-5395 and MNG-5396, which are logger names > enhancements from the actual values that will give value even with slf4j- > simple > > These should be a starting point for more global discussion about our > logging >