I have 2 profiles which I execute synchronously/asynchronously, I want to have log4j property file distinct across profiles, can you suggest how to achieve this, I have tried doing this but by default maven always choses the file named log4j.properties which I have placed under src/resources.
Thnkx sridharl -----Original Message----- From: Ron Wheeler [mailto:rwhee...@artifact-software.com] Sent: Monday, September 27, 2010 9:32 AM To: users@maven.apache.org Subject: Re: Multiple log4j properties file On 26/09/2010 11:48 PM, Sridhar Laxmipuram Srinivasan wrote: > Any update on this ? It is not clear what the problem actually is or how your log4j.property files are being affected by Maven. Maven does not know anything about log4j. What are these applications that run in parallel and how do you build them? Why do you think your problem with log4j (whatever it is) relates to anything that Maven does? Ron > Thnkx > sridharl > > ________________________________ > From: Sridhar Laxmipuram Srinivasan > Sent: Tuesday, September 21, 2010 4:09 PM > To: 'Maven Users List' > Subject: Multiple log4j properties file > > Hi, > Can anyone suggest me how to specify log4j.properties file at run time thru > maven command line? > My requirement is I have multiple projects and all of them get kicked off for > execution parallely, in this case my log4j properties file is getting messed > up as both the project's logs are written in either of the 2 log4j files > chosen randomly, and I want to avoid this > > thnkx > sridharl > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org