-X does not generate maven.log, but it gives you everything you will ever
get out of Maven.

Log4j.properties is a feature of log4j that Maven uses - putting it in
project.properties will not help. It will need to be in the classpath or its
location given on the command line.

From: http://logging.apache.org/log4j/docs/manual.html

You might try:
set MAVEN_OPTS=-Dlog4j.configuration=log4j.properties

Where log4j.properties are as per log4j documentation. The defaults for
Maven are:
http://cvs.apache.org/viewcvs.cgi/maven/src/conf/log4j.properties?rev=HEAD&v
iew=markup

If you want the RC1 funcationality, your log4j.properties would look like
this:
http://cvs.apache.org/viewcvs.cgi/maven/src/conf/log4j.properties?rev=1.16&v
iew=markup

Now, given all the research I've done for you, your mission is to enhance
the FAQ entry with this information in such a way that it is readable :)

Thanks,
Brett


> -----Original Message-----
> From: Eric Chow [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 17 May 2004 3:09 PM
> To: Maven Users List
> Subject: Re: How to generate maven.log ???
> 
> 
> Hi Brett,
> 
> I am soory to disturb you again and again.
> 
> 
> I tried to add a log4j.properties or copy those setting in 
> log4j.properties in the project.properties in the directory 
> that I run the Maven and also add a -X option but the 
> maven.log still not out !!!!
> 
> Is there anything I missed ??
> 
> 
> ----- Original Message ----- 
> From: "Brett Porter" <[EMAIL PROTECTED]>
> To: "'Maven Users List'" <[EMAIL PROTECTED]>
> Sent: Monday, May 17, 2004 11:28 AM
> Subject: RE: How to generate maven.log ???
> 
> 
> > > Didn't I already answer this last week?
> >
> > 
> http://marc.theaimsgroup.com/?l=turbine-maven-> user&m=108431656403743&w
> > =2
> >
> > In case you missed it. Eric - looks like you could do a little more
> research
> > before posting questions:
> > 1. read your email :)
> > 2. read the FAQ
> > 3. search the archives (took me 10 seconds to find the message).
> >
> > Thanks,
> > Brett
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to