All Versions
108
Latest Version
Avg Release Cycle
47 days
Latest Release
342 days ago
Changelog History
Page 5
Changelog History
Page 5
-
v4.5.6 Changes
May 29, 2018๐ Fixes
- #2747 JsonSerializer - Generate valid Json when hitting the MaxRecursionLimit (@snakefoot)
- ๐ Fixup for NLog.WindowsEventLog package
โจ Enhancements
- ๐ง #2745 FileTarget - Improve support for Linux FileSystem without BirthTime (@snakefoot)
๐ Performance
-
v4.5.5 Changes
May 25, 2018๐ Fixes
- #2736 FileTarget - Calculate correct archive date when multiple file appenders (@snakefoot)
๐ Features
- ๐ฒ #2726 WhenRepeated - Support logging rules with multiple targets (@snakefoot)
- ๐ #2727 Support for custom targets that implements IUsesStackTrace (@snakefoot)
- #2719 DatabaseTarget: use parameters on install (@Jejuni)
โจ Enhancements
- #2718 JsonLayout - Always stringify when requested (@snakefoot)
- #2739 Target.WriteAsyncLogEvents(IList) to public
๐ Performance
- #2704 Allocation improvement in precalculating layouts (@snakefoot)
-
v4.5.4 Changes
May 05, 2018๐ Fixes
- #2688 Faulty invalidate of FormattedMessage when getting PropertiesDictionary (@snakefoot)
- ๐ #2687 Fix: NLog.config build-action and copy for non-core projects, it's now "copy if newer" (@304NotModified)
- #2698 FileTarget - Calculate correct archive date, when using Monthly archive (@snakefoot)
โจ Enhancements
- #2673 TargetWithContext - Easier to use without needing to override ContextProperties (@snakefoot)
- #2684 DatabaseTarget - Skip static assembly lookup for .Net Standard (@snakefoot)
- ๐ฒ #2689 LogEventInfo - Structured logging parameters are not always immutable (@snakefoot)
- ๐ป #2679 Target.WriteAsyncThreadSafe should always have exception handler (@snakefoot)
- ๐ #2586 Target.MergeEventProperties is now obsolete (@snakefoot)
- โ Sonar warning fixes: #2691, #2694, #2693, #2690, #2685, #2683, #2696 (@snakefoot, @304NotModified)
-
v4.5.3 Changes
April 16, 2018๐ Fixes
- #2662 FileTarget - Improve handling of archives with multiple active files (@snakefoot)
โจ Enhancements
- ๐ฒ #2587 Internal Log - Include target type and target name in the log messages (@snakefoot)
- #2651 Searching for NLog Extension Files should handle DirectoryNotFoundException (@snakefoot)
๐ Performance
- ๐ #2653 LayoutRenderer ThreadSafe Attribute introduced to allow lock free Precalculate + other small performance improvements (@snakefoot)
-
v4.5.2 Changes
April 06, 2018๐ Features
- #2648 ${processtime} and ${time} added invariant option (@snakefoot)
๐ Fixes
- ๐ #2643 UWP with NetStandard2 on Net Native does not support Assembly.CodeBase + Handle native methods in StackTrace (#2643) (@snakefoot)
- #2644 FallbackGroupTarget: handle async state on fallback correctly (@snakefoot)
๐ Performance
-
v4.5.1 Changes
April 03, 2018 -
v4.5 Changes
March 25, 2018๐ฒ NLog 4.5 adds structured logging and .NET Standard support/UPW without breaking changes! Also a lot features has been added!
List of important changes in NLog 4.5
๐ Features
- ๐ Support for .Net Standard 2.0 #2263 + #2402 (@snakefoot)
- ๐ Support for .Net Standard 1.5 #2341 (@snakefoot)
- ๐ Support for .Net Standard 1.3 (and UWP) #2441 + #2597 (Remember to manually flush on app suspend). (@snakefoot)
- ๐ Introduced Structured logging #2208 + #2262 + #2244 + #2544 (@snakefoot, @304NotModified, @jods4, @nblumhardt) - see https://github.com/NLog/NLog/wiki/How-to-use-structured-logging
- ๐ Json conversion also supports object properties #2179, #2555 (@snakefoot, @304NotModified)
- event-properties layout-renderer can now render objects as json #2241 (@snakefoot, @304NotModified)
- ๐ป exception layout-renderer can now render exceptions as json #2357 (@snakefoot)
- 0๏ธโฃ Default file archive logic is now easier to use #1993 (@snakefoot)
- Introduced InstallationContext.ThrowExceptions #2214 (@rbarillec)
- ๐ง WebServiceTarget - Allow configuration of proxy address #2375 (@snakefoot)
- WebServiceTarget - JsonPost with JsonLayout without being wrapped in parameter #2590 (@snakefoot)
- ${guid}, added GeneratedFromLogEvent #2226 (@snakefoot)
- TraceTarget RawWrite to always perform Trace.WriteLine independent of LogLevel #1968 (@snakefoot)
- โ Adding OverflowAction options to BufferingTargetWrapper #2276 (@mikegron)
- WhenRepeatedFilter - Filtering of identical LogEvents #2123 + #2297 (@snakefoot)
- ${callsite} added CleanNamesOfAsyncContinuations option #2292 (@tkhaugen, @304NotModified)
- ${ndlctiming} allows timing of ndlc-scopes #2377 (@snakefoot)
- NLogViewerTarget - Enable override of the Logger-name #2390 (@snakefoot)
- ${sequenceid} added #2411 (@MikeFH)
- โ Added "regex-matches" for filtering #2437 (@MikeFH)
- ๐ ${gdc}, ${mdc} & {mdlc} - Support Format parameter #2500 (@snakefoot)
- ${currentDir} added #2491 (@UgurAldanmaz)
- ${AssemblyVersion}: add type (File, Assembly, Informational) option #2487 (@alexangas)
- ๐ FileTarget: Support byte order mark #2456 (@KYegres)
- ๐ TargetWithContext - Easier to create custom NLog targets with support for MDLC and NDLC #2467 (@snakefoot)
- ${callname-filename} - Without line number #2591 (@brunotag)
- ๐ MDC + MDLC with SetScoped property support #2592 (@MikeFH)
- LoggingConfiguration AddRule includes final-parameter #2612 (@893949088)
๐ Fixes
- ๐ Improve archive stability during concurrent file access #1889 (@snakefoot)
- ๐ฒ FallbackGroup could lose log events #2265 (@frabar666)
- ๐ป ${exception} - only include separator when items are available #2257 (@jojosardez)
- ๐ง LogFactory - Fixes broken EventArgs for ConfigurationChanged #1897 (@snakefoot)
- Do not report wrapped targets as unused targets #2290 (@thesmallbang)
- โ Added IIncludeContext, implemented missing properties #2117 (@304NotModified)
- ๐ Improve logging of callsite linenumber for async-methods #2386 (@snakefoot)
- 0๏ธโฃ NLogTraceListener - DisableFlush is enabled by default when AutoFlush=true #2407 (@snakefoot)
- 0๏ธโฃ NLogViewer - Better defaults for connection limits #2404 (@304NotModified)
- LoggingConfiguration.LoggingRules is not thread safe #2393, #2418
- ๐ Fix XmlLoggingConfiguration reloading #2475 (@snakefoot)
- ๐ Database Target now supports EntityFramework ConnectionStrings #2510 (@Misiu, @snakefoot)
- ๐ LoggingConfiguration.RemoveTarget now works while actively logging #2549 (@jojosardez, @snakefoot)
- ๐ FileTarget does not fail on platforms without global mutex support #2604 (@snakefoot)
- LoggingConfiguration does not fail when AutoReload is not possible on the platforms without FileWatcher #2603 (@snakefoot)
๐ Performance
- โก๏ธ More targets has OptimizeBufferReuse enabled by default #1913 + #1923 + #1912 + #1911 + #1910 + #1909 + #1908 + #1907 + #2560 (@snakefoot)
- ๐ StringBuilderPool - Improved Layout Render Performance by reusing StringBuilders #2208 (@snakefoot)
- ๐ JsonLayout - Improved Layout Performance, by optimizing use of StringBuilder #2208 (@snakefoot)
- ๐ฒ FileTarget - Faster byte-encoding of log messsages, by using crude Encoding.GetMaxByteCount() instead of exact Encoding.GetByteCount() #2208 (@snakefoot)
- Target - Precalculate Layout should ignore sub-layouts for complex layout (Ex Json) #2378 (@snakefoot)
- MessageLayoutRenderer - Skip
string.Format
allocation (for caching) when writing to a single target, instead format directly into output buffer. #2507 (@snakefoot)
๐ Changes since rc 07:
- ๐จ #2621 Single Target optimization logic refactored to reuse optimization approval (@snakefoot)
- #2622 NetworkTarget - Http / Https should not throw on async error response (@snakefoot)
- #2619 NetworkTarget - Reduce allocation when buffer is less than MaxMessageSize (@snakefoot)
- #2616 LogManager.Shutdown - Should disable file watcher and avoid auto reload (@snakefoot)
- ๐ #2620 Single Target optimization should only be done when parseMessageTemplate = null (@snakefoot)
-
v4.5-rc07 Changes
March 07, 2018- #2614 NLog 4.5 RC7 changelog & version (@304NotModified)
- #2612 add final param to
AddRule
Methods (#2612) (@893949088) - ๐ #2590 WebServiceTarget - JsonPost with support for single nameless parameter (@snakefoot)
- ๐ฒ #2604 FileTarget - Failing to CreateArchiveMutex should not stop logging (#2604) (@snakefoot)
- #2592 Make Set methods of MDC and MDLC return IDisposable (#2592) (@MikeFH)
- #2591 callsite-filename renderer (#2591) (@brunotag)
- #2597 Replace WINDOWS_UWP with NETSTANDARD1_3 to support UWP10 shared libraries (@snakefoot)
- #2599 TryImplicitConversion should only check object types (@snakefoot)
- ๐ #2595 IsSafeToDeferFormatting - Convert.GetTypeCode is faster and better (@snakefoot)
- ๐ฒ #2609 NLog - Fix Callsite when wrapping ILogger in Microsoft Extension Logging (@snakefoot)
- โ #2613 Attempt to make some unit-tests more stable (@snakefoot)
- #2603 MultiFileWatcher - Improve error handling if FileSystemWatcher fails (@snakefoot)
-
v4.5-rc06 Changes
February 20, 2018- #2585 NLog 4.5 rc6 version and changelog (#2585) (@304NotModified)
- #2581 MessageTemplateParameter(s) ctors to internal (@304NotModified)
- ๐ #2576 Fix possible infinite loop in message template parser + better handling incorrect templates (@304NotModified)
- #2580 ColoredConsoleTarget.cs: Fix typo (@perlun)
-
v4.5-rc05 Changes
February 13, 2018- ๐ #2571 4.5 rc5 version and release notes (@304NotModified)
- #2572 copyright 2018 (@304NotModified)
- โก๏ธ #2570 Update nuspec NLog.Config and NLog.Schema (@304NotModified)
- โ #2542 Added TooManyStructuredParametersShouldKeepBeInParamList testcase (@304NotModified)
- #2467 TargetWithContext - Easier to capture snapshot of MDLC and NDLC context (#2467) (@snakefoot)
- 0๏ธโฃ #2555 JsonLayout - Added MaxRecursionLimit and set default to 0 (@snakefoot)
- โช #2568 WebServiceTarget - Rollback added Group-Layout (@snakefoot)
- ๐ #2544 MessageTemplate renderer with support for mixed mode templates (@snakefoot)
- #2538 Renamed ValueSerializer to ValueFormatter (@snakefoot)
- #2554 LogBuilder - Check level before allocation of Properties-dictionary (@snakefoot)
- 0๏ธโฃ #2550 DefaultJsonSerializer - Reflection should skip index-item-properties (@snakefoot)
- ๐ #2549 LoggingConfiguration - FindTargetByName should also find target + fix for logging on a target even after removed (@snakefoot)
- #2548 IAppDomain.FriendlyName should also work on NetStandard15 (@snakefoot)
- ๐ #2563 WebService-Target fails internally with PlatformNotSupportedException on NetCore (@snakefoot)
- โก๏ธ #2560 Network/NLogViewer/Chainsaw Target - Enabled OptimizeBufferReuse by default, but not for sub classes (@snakefoot)
- #2551 Blackhole LoggingRule without targets (@snakefoot)
- 0๏ธโฃ #2534 Docs for DefaultJsonSerializer/(i)ValueSerializer (#2534) (@304NotModified)
- ๐ฆ #2519 RegisterItemsFromAssembly - Include assemblies from nuget packages (Strict) (@304NotModified, @snakefoot)
- #2524 FileTarget - Dynamic archive mode with more strict file-mask for cleanup (@snakefoot)
- #2518 DatabaseTarget - Added DbProvider System.Data.SqlClient for NetStandard (@snakefoot)
- #2514 Added missing docgen for different options (Less noise in appveyor) (@snakefoot)