0
Completed
Andre Soares 10 months ago • updated by j.verdurmen 2 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.

Completed

this should work as described by @snakefoot.