You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2025-04-29-nlog-6-0-major-changes.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,13 +19,13 @@ This can lead to overhead for AOT builds, as it must include and compile all the
19
19
20
20
NLog v6 has reduced its footprint by extracting features into separate nuget-packages:
21
21
22
-
-[NLog.Targets.AtomicFile](https://www.nuget.org/packages/NLog.Targets.AtomicFile) - ConcurrentWrites using atomic file-append from operating system API.
23
-
-[NLog.Targets.ConcurrentFile](https://www.nuget.org/packages/NLog.Targets.ConcurrentFile) - ConcurrentWrites using global mutex from operating system API.
24
-
-[NLog.Targets.GZipFile](https://www.nuget.org/packages/NLog.Targets.GZipFile) - EnableArchiveFileCompression using GZipStream for writing GZip compressed log-files.
25
-
-[NLog.Targets.Mail](https://www.nuget.org/packages/NLog.Targets.Mail) - Depends on System.Net.Mail.SmtpClient.
26
-
-[NLog.Targets.Network](https://www.nuget.org/packages/NLog.Targets.Network) - Depends on TCP and UDP Network Socket, and adds support for Syslog and Graylog.
27
-
-[NLog.Targets.Trace](https://www.nuget.org/packages/NLog.Targets.Trace) - Depends on System.Diagnostics.TraceListener and System.Diagnostics.Trace.CorrelationManager.
28
-
-[NLog.Targets.WebService](https://www.nuget.org/packages/NLog.Targets.WebService) - Depends on System.Net.Http.HttpClient.
22
+
-[NLog.Targets.AtomicFile](https://www.nuget.org/packages/NLog.Targets.AtomicFile) - FileTarget with ConcurrentWrites using atomic file-append from operating system API.
23
+
-[NLog.Targets.ConcurrentFile](https://www.nuget.org/packages/NLog.Targets.ConcurrentFile) - Legacy FileTarget from NLog v5 with ConcurrentWrites using global operating system mutex.
24
+
-[NLog.Targets.GZipFile](https://www.nuget.org/packages/NLog.Targets.GZipFile) - FileTarget with EnableArchiveFileCompression using GZipStream for writing GZip compressed log-files.
25
+
-[NLog.Targets.Mail](https://www.nuget.org/packages/NLog.Targets.Mail) - MailTarget depends on System.Net.Mail.SmtpClient.
26
+
-[NLog.Targets.Network](https://www.nuget.org/packages/NLog.Targets.Network) - NetworkTarget depends on TCP and UDP Network Socket, and adding support for Syslog and Graylog.
27
+
-[NLog.Targets.Trace](https://www.nuget.org/packages/NLog.Targets.Trace) - TraceTarget and NLogTraceListener depends on System.Diagnostics.TraceListener and System.Diagnostics.Trace.CorrelationManager.
28
+
-[NLog.Targets.WebService](https://www.nuget.org/packages/NLog.Targets.WebService) - WebServiceTarget depends on System.Net.Http.HttpClient.
29
29
-[NLog.RegEx](https://www.nuget.org/packages/NLog.RegEx) - Depends on System.Text.RegularExpressions which is a huge dependency for a logging library.
30
30
31
31
NLog v6 also no longer depends on `System.Xml.XmlReader`, but now includes its own basic XmlParser for loading `NLog.config` files.
@@ -65,8 +65,8 @@ NLog FileTarget no longer has the following archive-options:
65
65
66
66
- EnableArchiveFileCompression - Removed because of dependency on compression-libraries.
67
67
- ArchiveOldFileOnStartupAboveSize - Instead use ArchiveAboveSize / ArchiveOldFileOnStartup.
68
-
- ArchiveDateFormat - Marked as obsolete. Instead use new ArchiveSuffixFormat
69
-
- ArchiveNumbering - Marked as obsolete. Instead use new ArchiveSuffixFormat (Rolling is unsupported).
68
+
- ArchiveDateFormat - Marked as obsolete. Instead use new ArchiveSuffixFormat. Ex. `_{1:yyyyMMdd}_{0:00}`.
69
+
- ArchiveNumbering - Marked as obsolete. Instead use new ArchiveSuffixFormat. Ex. `_{1:yyyyMMdd}_{0:00}`.
70
70
- ArchiveFileKind - Removed because it is now implicit.
71
71
- FileNameKind - Removed because it is now implicit.
Copy file name to clipboardExpand all lines: _posts/2025-06-21-nlog-6-0-released.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,13 @@ NLog v6 includes the following major changes:
14
14
15
15
NLog v6 has reduced its footprint by extracting features into separate nuget-packages:
16
16
17
-
-[NLog.Targets.AtomicFile](https://www.nuget.org/packages/NLog.Targets.AtomicFile) - ConcurrentWrites using atomic file-append from operating system API.
17
+
-[NLog.Targets.AtomicFile](https://www.nuget.org/packages/NLog.Targets.AtomicFile) - FileTarget with ConcurrentWrites using atomic file-append from operating system API.
18
18
-[NLog.Targets.ConcurrentFile](https://www.nuget.org/packages/NLog.Targets.ConcurrentFile) - Legacy FileTarget from NLog v5 with ConcurrentWrites using global operating system mutex.
19
-
-[NLog.Targets.GZipFile](https://www.nuget.org/packages/NLog.Targets.GZipFile) - EnableArchiveFileCompression using GZipStream for writing GZip compressed log-files.
20
-
-[NLog.Targets.Mail](https://www.nuget.org/packages/NLog.Targets.Mail) - Depends on System.Net.Mail.SmtpClient.
21
-
-[NLog.Targets.Network](https://www.nuget.org/packages/NLog.Targets.Network) - Depends on TCP and UDP Network Socket, and adds support for Syslog and Graylog.
22
-
-[NLog.Targets.Trace](https://www.nuget.org/packages/NLog.Targets.Trace) - Depends on System.Diagnostics.TraceListener and System.Diagnostics.Trace.CorrelationManager.
23
-
-[NLog.Targets.WebService](https://www.nuget.org/packages/NLog.Targets.WebService) - Depends on System.Net.Http.HttpClient.
19
+
-[NLog.Targets.GZipFile](https://www.nuget.org/packages/NLog.Targets.GZipFile) - FileTarget with EnableArchiveFileCompression using GZipStream for writing GZip compressed log-files.
20
+
-[NLog.Targets.Mail](https://www.nuget.org/packages/NLog.Targets.Mail) - MailTarget depends on System.Net.Mail.SmtpClient.
21
+
-[NLog.Targets.Network](https://www.nuget.org/packages/NLog.Targets.Network) - NetworkTarget depends on TCP and UDP Network Socket, and adding support for Syslog and Graylog.
22
+
-[NLog.Targets.Trace](https://www.nuget.org/packages/NLog.Targets.Trace) - TraceTarget and NLogTraceListener depends on System.Diagnostics.TraceListener and System.Diagnostics.Trace.CorrelationManager.
23
+
-[NLog.Targets.WebService](https://www.nuget.org/packages/NLog.Targets.WebService) - WebServiceTarget depends on System.Net.Http.HttpClient.
24
24
-[NLog.RegEx](https://www.nuget.org/packages/NLog.RegEx) - Depends on System.Text.RegularExpressions which is a huge dependency for a logging library.
25
25
26
26
See also [List of major changes in NLog v6](https://nlog-project.org/2025/04/29/nlog-6-0-major-changes.html) for more details.
0 commit comments