RE: Log4Net file locking

2005-12-12 Thread Nicko Cadell
> Sent: 22 November 2005 09:53 > To: log4net-user@logging.apache.org > Subject: Log4Net file locking > > Hi, > We wish to port our .NET windows application logging to > Log4Net but are facing a problem. Our application dispays the > log file in a rich text box so that the

Re: Log4Net file locking

2005-11-23 Thread Mike Blake-Knox
I'd suggest that you change the program that's displaying the log file so that it uses FileAccess.ReadWrite AND FileShare.ReadWrite when opening the file. Otherwise, you won't be able to open the file as it already has a writer. This generally works fine with the RollingFileAppender but note that

Re: Log4Net file locking

2005-11-22 Thread Ron Grabowski
erted in the config file in the section where you > define > > the RollingFileAppender). > > > > > > Best regards > > Georg > > http://www.l4ndash.com - Log4Net Dashboard / Log Viewer > > > > -Original Message- > > From: news [mailto:[EM

RE: Log4Net file locking

2005-11-22 Thread Marc Lewandowski
I can open log files in Notepad while they are still being written to by L4N. -Marc -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Sankalp Sent: Tuesday, November 22, 2005 4:53 AM To: log4net-user@logging.apache.org Subject: Log4Net file locking Hi, We wish to port our

RE: Log4Net file locking

2005-11-22 Thread Christoph Walcher
,   FileMode mode,   FileAccess access,   FileShare share);   method of File?   greets Christoph From: Matthew Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 22, 2005 2:46 PMTo: Log4NET UserSubject: Re: Log4Net file locking Just a warning though, in my experience with MinimalLock

Re: Log4Net file locking

2005-11-22 Thread Matthew Brown
Just a warning though, in my experience with MinimalLock, it slows down execution of the program significantly (as log4net has to lock the file, write it, unlock it, repeat)On 11/22/05, Georg Jansen <[EMAIL PROTECTED]> wrote: Hi,You can try to change the lock level:(This must be inserted in the con

RE: Log4Net file locking

2005-11-22 Thread Georg Jansen
Of Sankalp Sent: 22. november 2005 10:53 To: log4net-user@logging.apache.org Subject: Log4Net file locking Hi, We wish to port our .NET windows application logging to Log4Net but are facing a problem. Our application dispays the log file in a rich text box so that the user can debug himself what

Log4Net file locking

2005-11-22 Thread Sankalp
Hi, We wish to port our .NET windows application logging to Log4Net but are facing a problem. Our application dispays the log file in a rich text box so that the user can debug himself what all is happening in the application. We plan to user RollingFileAppender so that logs can remain for certain