Log4net file locking

by Marius Gheorghe 12. February 2009 07:42

I had a “locked file” problem with the log4net (trying to read the content of the file from asp.net). This can be fixed by forcing log4net to use a minimal lock :

<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />

Tags:

dotNET

Comments

8/10/2009 12:01:11 AM #

Wow! Thank you! I always wanted to write in my site something like that. Can I take part of your post to my blog?

payday loans United States

8/11/2009 11:07:15 PM #

my God, i thought you were going to chip in with some critical insight at the end there, not leave it with �we leave it to you to decide�.

cash loans United States