Skip to content

Commit 8185d09

Browse files
committed
AtomicFileTarget no longer depends on Mono.Posix.NETStandard-nuget-package
1 parent 621e1d9 commit 8185d09

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,11 @@ that supports atomic file-append with help from the operating system, and suppor
161161

162162
Extends the standard FileTarget and adds support for `ConcurrentWrites = true`, but without using global mutex.
163163

164-
Linux users must use `dotnet publish` with `--configuration release --runtime linux-x64` to ensure
165-
correct publish of the `Mono.Posix.NETStandard`-nuget-package dependency.
164+
- NET on Windows rely on `FileSystemRights.AppendData`-flag
165+
- NET on Linux rely on `O_APPEND`-flag (`DllImport` calling `Open()` from `libc`)
166+
- NET on MacOX rely on `O_APPEND`-flag (`DllImport` calling `Open()` from `libc`)
167+
168+
NLog ver. 6.1.5 stopped depending on `Mono.Posix.NETStandard`-nuget-package, instead changed to `DllImport` calling `open()` from `libc` to also support MacOSX and Arm64.
166169

167170
### NLog GZipFileTarget with GZipStream
168171

0 commit comments

Comments
 (0)