Re: Including PID in log file name -- Locking Models & ASP.Net

2007-10-10 Thread Jerry Shea
Has anyone worked out a way to use a RollingFileAppender with PIDs in filenames? What I would like to do is to ensure we never have more than 10MB of logs, but also to have the PID in the filename to get around ASP.NETlocking issues, and to allow multiple websites to be installed from the same dire

RE: Including PID in log file name -- Locking Models & ASP.Net

2007-10-09 Thread Walden H. Leverich
ROTECTED] Sent: Tuesday, October 09, 2007 10:31 AM To: Log4NET User Subject: Re: Including PID in log file name -- Locking Models & ASP.Net Try this.. -Peter On 10/9/07, Walden H. Leverich <[EMAIL PROTECTED] > wrote: Short question: Is

Re: Including PID in log file name -- Locking Models & ASP.Net

2007-10-09 Thread Peter Drier
Try this.. -Peter On 10/9/07, Walden H. Leverich <[EMAIL PROTECTED]> wrote: > > Short question: Is there a way in the RollingFileAppender to use the > process ID (PID) in the file name? > > > > Long question: > > > > We're using log4net (1.2.10) in s

RE: Including PID in log file name -- Locking Models & ASP.Net

2007-10-09 Thread Dave McEwan
pid included ... } // at the end of the using block the message is automatically removed Dave _ From: Walden H. Leverich [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 09, 2007 9:14 AM To: Log4NET User Subject: Including PID in log file name -- Locking Models & ASP.Net

Including PID in log file name -- Locking Models & ASP.Net

2007-10-09 Thread Walden H. Leverich
Short question: Is there a way in the RollingFileAppender to use the process ID (PID) in the file name? Long question: We're using log4net (1.2.10) in several ASP.Net applications. We're also using the RollingFileAppender rolling daily, and using a static file name, so the current log-file