One technique I've used is to embed Java system properties in the log4j.properties file with the ${property.name} syntax. Then I set that property to a different value for each process.
-S On Tue, Sep 21, 2010 at 6:39 AM, Sridhar Laxmipuram Srinivasan <sridh...@yahoo-inc.com> wrote: > 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