The file appender will only append to a log file if it is specified in the config. Don't specify it in the config and it won't append. Of course, this means on application restart, not for each log statement. I can't imagine why one would want to overwrite for each log statement, but I just wanted to point that out to make sure the two situations weren't confused in the conversation.
Jake Quoting Rajasekhar Dara <[EMAIL PROTECTED]>: > Any one of you can help me out ? > plz.. its bit urgent.. > > Dara:) > > > Note: Forwarded message attached > > -- Original Message -- > > From: "Rajasekhar Dara" <[EMAIL PROTECTED]> > To: log4j-user@logging.apache.org > Subject: log file should be overwritten > > > Regards, > > Rajasekhar Dara > Sr. Software Engineer > HP Global Soft Ltd > Bangalore > Phone: 22051018 > Mobile: 9845400277 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]