Skip to content

Commit 64c7fe2

Browse files
committed
NLog v6 - NLog.Targets.AtomicFile remember changing to xsi:type=atomfile
1 parent da92355 commit 64c7fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ NLog FileTarget no longer has the following options:
122122
- NetworkWrites - Replaced by KeepFileOpen.
123123

124124
Alternative options for replacing `ConcurrentWrites = true`:
125-
- Use the new nuget-package [NLog.Targets.AtomicFile](https://www.nuget.org/packages/NLog.Targets.AtomicFile) where AtomicFileTarget uses atomic file-appends and supports Windows / Linux with NET8.
125+
- Use the new nuget-package [NLog.Targets.AtomicFile](https://www.nuget.org/packages/NLog.Targets.AtomicFile) where AtomicFileTarget uses atomic file-appends and supports Windows / Linux with NET8 (Remember changing to `xsi:type="atomfile"`)
126126
- Change to use `KeepFileOpen = false` where file is opened / closed when writing LogEvents. For better performance then consider to also use `<targets async="true">`.
127127
- Update FileName to include suffix `_${appdomain:format=short}_${processid}` to support IIS that can juggle multiple AppDomains during recycle of app-pools.
128128

0 commit comments

Comments
 (0)