github NLog/NLog 4.2.0
NLog 4.2.0

latest releases: v5.3.2, v5.3.1, v5.3.0...
8 years ago

Features

  • Performance Counter Target: it's now possible to configure the step size for the counter target. Before the step size was always one.
  • Mail Target: pickupDirectoryLocation and deliveryMethod are configurable from the NLog config.
  • Cached Layout Renderer: a clearCache option has been added for more control over clearing the cache.
  • File target: auto add .zip to compressed archive when archiveName isn't specified.

Bug fixes

  • Inner layout can now contain colons.
  • Colored Console Target: highlight whole words was broken.
  • Mail Target: when useSystemNetMailSettings was false, some settings were still used from the <mailSettings> of the .Net config.
  • Removed unnecessary System.Drawing references for Xamarin.
  • File Target: sometimes an exception was thrown when archiving was enabled.
  • File Target: file archiving DateAndSequence & FileArchivePeriod.Day won't always work.
  • GetTargetsByLevelForLogger could throw a "Collection was modified" exception.

In more detail, see news post

Don't miss a new NLog release

NewReleases is sending notifications on new releases.