On Thu, Sep 23, 2010 at 11:38 PM, Sridhar Laxmipuram Srinivasan
<sridh...@yahoo-inc.com> wrote:
> Oh! So you are including a different log4j file thru system properties ?

No, I use one Log4J properties file, with system properties inside it.
 Like this:

    log4j.rootLogger=debug, R
    log4j.appender.R=org.apache.log4j.RollingFileAppender
    log4j.appender.R.File=${log.file.name}.log

Then I can set the system property "log.file.name" at the command line
to control where the log file goes.

-S

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

Reply via email to