Skip to content

Commit 3fa33ce

Browse files
committed
KeepFileOpen = false allows multiple processes to write to the same file
1 parent 6ef6ee2 commit 3fa33ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_posts/2025-04-29-nlog-6-0-major-changes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ NLog FileTarget no longer supports `ConcurrentWrites`-option, where multiple pro
109109
on the same machine can write to the same file with help from global operating-system-mutex.
110110

111111
This feature was removed to simplify the NLog FileTarget, and not rely on features that was
112-
only supported on certain operating system platforms. Still there is support for `KeepFileOpen` = true / false.
112+
only supported on certain operating system platforms. There is still support for `KeepFileOpen` = true / false,
113+
where `KeepFileOpen = false` enables multiple processes to write to the same file, even when located on network-share.
113114

114115
NLog FileTarget no longer has the following options:
115116

0 commit comments

Comments
 (0)