maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Pugh" <ep...@upstate.com>
Subject RE: Equivalent to Ants -logger?
Date Fri, 18 Jun 2004 08:33:39 GMT
Thanks..  In retrospect, my post probably should have gone to log4j users!
At any rate, if I get it to work, I'll post something to the wiki about
remote monitoring of Maven.

Eric

> -----Original Message-----
> From: Brett Porter [mailto:brett.porter@gmail.com]
> Sent: Friday, June 18, 2004 9:43 AM
> To: Maven Users List; epugh@upstate.com
> Subject: Re: Equivalent to Ants -logger?
>
>
> > If I want to customize the log4j.properties file that Maven
> uses, would I be
> > able to place a log4j.properties in the /maven/lib directory?  Would the
> > classpath loader (?) pick that up instead of the log4j.properties in
> > maven.jar?  Or do I need to edit the maven.jar version?
>
> No, maven/lib wouldn't work. You're best bet is to use the log4j
> system property to override it. It uses default initialisation, so
> just take a look at the log4j documentation and you'll see where to
> jump into the precendence ahead of Maven.
>
> Cheers,
> Brett


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


Mime
View raw message