You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Sander Verhagen <sa...@sanderverhagen.net> on 2015/07/17 18:16:25 UTC

RE: logging during multithreaded builds (follow-up)

Hi,


I dug a little (really, just a little) further, and I'm wondering what is missing when I would just set org.slf4j.simpleLogger.showThreadName=true in <maven>/conf/logging/simplelogger.properties? It seems too simple :)

But it seems to be showing me thread names to distinguish things by:

	[main]
	[BuilderThread 0]
	[BuilderThread 1]
	Et cetera...

Thanks, Sander.



Sander Verhagen
[  sander@sanderverhagen.net  ]

NOTICE: my e-mail address has changed. Please remove Verhagen@Sander.com now and start using Sander@SanderVerhagen.net from now on. Please update your address book. Thank  you!


> -----Original Message-----
> From: Igor Fedorenko [mailto:igor@ifedorenko.com]
> Sent: Tuesday, June 09, 2015 12:15
> To: Maven Developers List; Sander Verhagen
> Subject: Re: logging during multithreaded builds (follow-up)
> 
> Based on the feedback I got on this list I did not include the logger extension
> in maven itself but kept it in a separate repository. I may opensource that
> repository some time in the future but it is not a priority for me right now.
> 
> --
> Regards,
> Igor
> 
> 
> 
> On June 9, 2015 1:33:46 PM Sander Verhagen
> <sa...@sanderverhagen.net> wrote:
> 
> > Hi group,
> >
> >
> > Sorry if it's inappropriate for me to ask this in the dev list, but this is
> > where this was previously discussed. I'm interested in the work that Igor
> > mentioned around logging during multithreaded builds. It sounded like
> there
> > was an addition to Maven being built (whether it be in the core or some
> > extension). Is that somehow generally available, be it in released form or
> > as ("alpha") source code that I can build myself?
> >
> > Much appreciated,
> >
> >
> > Sander Verhagen
> > [  sander@sanderverhagen.net<ma...@sanderverhagen.net>  ]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: logging during multithreaded builds (follow-up)

Posted by Igor Fedorenko <ig...@ifedorenko.com>.
For my needs logging thread names was not enough. I needed to capture
logging using "other" logging frameworks (commons-logging,
java.util.logging, log4j, logback, System.out/err). I also wanted to be
able to see individual project build messages grouped together, either
in separate files on filesystem or in console. I also wanted ability to
do custom routing of logging messages, which I use in m2e maven dev
tools to capture and display build logs. Not saying everyone needs all
of these, of course, you don't need anything fancier if thread names are
good enough for you.

-- 
Regards,
Igor

On Fri, Jul 17, 2015, at 12:16 PM, Sander Verhagen wrote:
> Hi,
> 
> 
> I dug a little (really, just a little) further, and I'm wondering what is
> missing when I would just set org.slf4j.simpleLogger.showThreadName=true
> in <maven>/conf/logging/simplelogger.properties? It seems too simple :)
> 
> But it seems to be showing me thread names to distinguish things by:
> 
> 	[main]
> 	[BuilderThread 0]
> 	[BuilderThread 1]
> 	Et cetera...
> 
> Thanks, Sander.
> 
> 
> 
> Sander Verhagen
> [  sander@sanderverhagen.net  ]
> 
> NOTICE: my e-mail address has changed. Please remove Verhagen@Sander.com
> now and start using Sander@SanderVerhagen.net from now on. Please update
> your address book. Thank  you!
> 
> 
> > -----Original Message-----
> > From: Igor Fedorenko [mailto:igor@ifedorenko.com]
> > Sent: Tuesday, June 09, 2015 12:15
> > To: Maven Developers List; Sander Verhagen
> > Subject: Re: logging during multithreaded builds (follow-up)
> > 
> > Based on the feedback I got on this list I did not include the logger extension
> > in maven itself but kept it in a separate repository. I may opensource that
> > repository some time in the future but it is not a priority for me right now.
> > 
> > --
> > Regards,
> > Igor
> > 
> > 
> > 
> > On June 9, 2015 1:33:46 PM Sander Verhagen
> > <sa...@sanderverhagen.net> wrote:
> > 
> > > Hi group,
> > >
> > >
> > > Sorry if it's inappropriate for me to ask this in the dev list, but this is
> > > where this was previously discussed. I'm interested in the work that Igor
> > > mentioned around logging during multithreaded builds. It sounded like
> > there
> > > was an addition to Maven being built (whether it be in the core or some
> > > extension). Is that somehow generally available, be it in released form or
> > > as ("alpha") source code that I can build myself?
> > >
> > > Much appreciated,
> > >
> > >
> > > Sander Verhagen
> > > [  sander@sanderverhagen.net<ma...@sanderverhagen.net>  ]
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org