NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet · #98 most downloaded on NuGet
NLog is a logging platform for .NET with rich log routing and management capabilities. NLog supports traditional logging, structured logging and the combination of both. Supported platforms: - .NET 6, 7, 8, 9 and 10 - .NET Standard 2.0 and 2.1 - .NET Framework 3.5 - 4.8 - Xamarin Android + iOS (.NET Standard) - Mono 4 For integrating NLog with Microsoft.Extensions.Logging, check: https://www.nuget.org/packages/NLog.Extensions.Logging For using NLog with ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
Last release 3 days ago
16 Sep 2026
Ships on a steady schedule
a new release about every 4 weeks
Nearly every release is documented
notes for 55 of the last 60 stable releases
98 versions withdrawn
withdrawn after publishing
127 years old
221 releases · first in 1900
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
Nothing published for this version
Fixes - #2600 Fix 'System.ReadOnlySpan`1[System.Char]' cannot be converted to type 'System.String' (@snakefoot)
Fixes
Fixes - #2229 Fix: ReconfigExistingLoggers sometimes throws an Exception (@jpdillingham)
Fixes
Fixes - #2164 JsonLayout - Don't mark ThreadAgnostic when IncludeMdc or IncludeMdlc is enabled (@snakefoot)
Fixes
Features - #2110 NdlcLayoutRenderer - Nested Diagnostics Logical Context (@snakefoot) - #2114 EventlogTarget: Support for MaximumKilobytes (@304NotMod
Features
Fixes
<targets> after <rules> won't work (@304NotModified, @Moafak)Improvements
Features - #2090 ${log4jxmlevent} - Added IncludeAllProperties option (@snakefoot) - #2090 Log4JXmlEvent Layout - Added IncludeAllProperties, IncludeM
Features - #2078 Include MDLC in log4j renderer (option) (@thoemmi)
Features
Features - #2063 JsonLayout - Added JsonAttribute property EscapeUnicode (@snakefoot) Improvements - #2075 StackTraceLayoutRenderer with Raw format sh
Features
Improvements
Features
Improvements
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fixes - #2010 LogFactory - Ensure to flush and close on shutdown - fixes broken logging (@snakefoot) - #2017 WebServiceTarget - Fix boolean parameter
Nothing published for this version
Features - #2000 Add weekly archival option to FileTarget (@dougthor42) - #2009 Load assembly event (@304NotModified) - #1917 Call NLogPackageLoader.P
Features
Improvements
<NLog> options (@304NotModified)Fixes
Fixes - #1966 System.UriFormatException on load (Mono) (@JustArchi) - #1960 EventLogTarget: Properly parse and set EventLog category (@marinsky)
Features - #1799 FileTarget: performance improvement: 10-70% faster, less garbage collecting (3-4 times less) by reusing buffers (@snakefoot, @AndreGl
Features
<include> (@304NotModified)Improvements
Fixes
Nothing published for this version
Nothing published for this version
Fixes for medium trust (@snakefoot, @304notmodified)
Summary:
Detail:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Improvements - #1700 Improved concurrency when multiple Logger threads are writing to async Target (@snakefoot) - #1750 Log payload for NLogViewerTarg
Improvements
Fixes
Features - #1680 Append to existing archive file (@304NotModified) - #1669 AsyncTargetWrapper - Allow TimeToSleepBetweenBatches = 0 (@snakefoot) - #16
Features
Improvements
Fixes
Features - #1641 FileTarget: Add WriteFooterOnArchivingOnly parameter. (@bhaeussermann) - #1628 Add ExceptionDataSeparator option for ${exception} (@F
Features
Improvements
Fixes
Nothing published for this version
Features - #1619 NetworkTarget: Added option to specify EOL (@kevindaub) Improvements - #1596 Performance tweak in NLog routing (@304NotModified) - #1
Features
Improvements
Fixes
Features - #1469 Allow overwriting possible nlog configuration file paths (@304NotModified) - #1578 Add support for name parameter on ${Assembly-versi
Features
Improvements
Fixes
Features - #1531 Support Android 4.4 (@304NotModified) - #1551 Addded CompoundLayout (@luigiberrettini) Fixes - #1548 Bugfix: Can't update EventLog's
Features
Fixes
Features - #1471 Add else option to ${when} (@304NotModified) - #1481 get items for diagnostic contexts (DiagnosticsContextes, GetNames() method) (@ti
Nothing published for this version
Features - #1423 Injection of zip-compressor for fileTarget (@AndreGleichner) - #1434 Added constructors with name argument to the target types (@304N
Features
Improvements
Fixes
Other
- #1411 MailTarget: fix "From" errors (bug introduced in NLog 4.3.2) (@304NotModified)
Your coding agent can read these notes before it upgrades. Set up the MCP server →