RE: Forcing flush before killing a process

2005-10-10 Thread Nicko Cadell
Call LogManger.Shutdown() that will flush all the appenders and close all the files cleanly. Nicko > -Original Message- > From: Thibaut Barrère [mailto:[EMAIL PROTECTED] > Sent: 10 October 2005 15:19 > To: Log4NET User > Subject: Forcing flush before killing a process &

Forcing flush before killing a process

2005-10-10 Thread Thibaut Barrère
Hi, is there some way to flush all the logs before killing the process ? I'm using Environment.Exit() for last chance application exit (when everything else has been tried). I'd like to record the fact that I had to kill the process. Is it doable ? regards Thibaut