Andre Soares 1 year ago • updated by j.verdurmen 5 months ago 2

In log4net we have an option <lockingModel type="log4net.Appender.FileAppender+MinimalLock" /> to enable writing log lines in an open file. I could not make it work with NLog. I think this does not exist.

If it really doesn't exist, it would be a great feature!

Believe this has been fixed with NLog ver. 4.4 with WindowsMultiProcessFileAppender. Just configure the file-target with the settings keepFileOpen=true and concurrentWrites=true.


this should work as described by @snakefoot.