Release notes
*Sourced from [NLog's releases](https://github.com/NLog/NLog/releases).*
> ## NLog 4.6.8
> #### Bugfixes
> - [#3566](https://github-redirect.dependabot.com/NLog/NLog/pull/3566) DatabaseTarget - Auto escape special chars in password, and improve handling of empty username/password ([@304NotModified](https://github.com/304NotModified))
> - [#3584](https://github-redirect.dependabot.com/NLog/NLog/pull/3584) LoggingRule - Fixed IndexOutOfRangeException for SetLoggingLevels with LogLevel.Off ([@snakefoot](https://github.com/snakefoot))
> - [#3609](https://github-redirect.dependabot.com/NLog/NLog/pull/3609) FileTarget - Improved handling of relative path in ArchiveFileName ([@snakefoot](https://github.com/snakefoot))
> - [#3631](https://github-redirect.dependabot.com/NLog/NLog/pull/3631) ExceptionLayoutRenderer - Fixed missing separator when Format-value gives empty result ([@brinko99](https://github.com/brinko99))
> - [#3647](https://github-redirect.dependabot.com/NLog/NLog/pull/3647) ${substring} - Length should not be mandatory ([@304NotModified](https://github.com/304NotModified))
> - [#3653](https://github-redirect.dependabot.com/NLog/NLog/pull/3653) SimpleLayout - Fixed NullReferenceException in PreCalculate during TryGetRawValue optimization ([@snakefoot](https://github.com/snakefoot))
>
> #### Features
> - [#3578](https://github-redirect.dependabot.com/NLog/NLog/pull/3578) LogFactory - AutoShutdown can be configured to unhook from AppDomain-Unload, and avoid premature shutdown with IHostBuilder ([@snakefoot](https://github.com/snakefoot))
> - [#3579](https://github-redirect.dependabot.com/NLog/NLog/pull/3579) PerformanceCounterLayoutRenderer - Added Layout-support for Instance-property ([@snakefoot](https://github.com/snakefoot))
> - [#3583](https://github-redirect.dependabot.com/NLog/NLog/pull/3583) ${local-ip} Layout Renderer for local machine ip-address ([@snakefoot](https://github.com/snakefoot) + [@304NotModified](https://github.com/304NotModified))
> - [#3583](https://github-redirect.dependabot.com/NLog/NLog/pull/3583) CachedLayoutRendererWrapper - Added CachedSeconds as ambient property. Ex. ${local-ip:cachedSeconds=60} ([@snakefoot](https://github.com/snakefoot))
> - [#3586](https://github-redirect.dependabot.com/NLog/NLog/pull/3586) JsonLayout - Added EscapeForwardSlash-option to skip Json-escape of forward slash ([@304NotModified](https://github.com/304NotModified))
> - [#3593](https://github-redirect.dependabot.com/NLog/NLog/pull/3593) AllEventPropertiesLayoutRenderer - Added Exclude-option that specifies property-keys to skip ([@snakefoot](https://github.com/snakefoot))
> - [#3611](https://github-redirect.dependabot.com/NLog/NLog/pull/3611) ${Exception} - Added new Format-option values HResult and Properties ([@snakefoot](https://github.com/snakefoot))
>
> #### Improvements
> - [#3622](https://github-redirect.dependabot.com/NLog/NLog/pull/3622) + [#3651](https://github-redirect.dependabot.com/NLog/NLog/pull/3651) ConcurrentRequestQueue refactoring to reduce code complexity ([@snakefoot](https://github.com/snakefoot))
> - [#3636](https://github-redirect.dependabot.com/NLog/NLog/pull/3636) AsyncTargetWrapper now fallback to clearing internal queue if flush fails to release blocked writer threads ([@snakefoot](https://github.com/snakefoot))
> - [#3641](https://github-redirect.dependabot.com/NLog/NLog/pull/3641) ${CallSite} - Small improvements for recognizing async callsite cases ([@snakefoot](https://github.com/snakefoot))
> - [#3642](https://github-redirect.dependabot.com/NLog/NLog/pull/3642) LogManager.GetCurrentClassLogger - Improved capture of Logger name when called within lambda_method ([@snakefoot](https://github.com/snakefoot))
> - [#3649](https://github-redirect.dependabot.com/NLog/NLog/pull/3649) ${BaseDir:FixTempDir=true} fallback to process directory for .NET Core 3 Single File Publish ([@snakefoot](https://github.com/snakefoot))
> - [#3649](https://github-redirect.dependabot.com/NLog/NLog/pull/3649) Auto-loading NLog configuration from process.exe.nlog will priotize process directory for .NET Core 3 Single File Publish ([@snakefoot](https://github.com/snakefoot))
> - [#3654](https://github-redirect.dependabot.com/NLog/NLog/pull/3654) ObjectPathRendererWrapper minor refactorings ([@snakefoot](https://github.com/snakefoot))
> - [#3660](https://github-redirect.dependabot.com/NLog/NLog/pull/3660) ObjectHandleSerializer.GetObjectData includes SerializationFormatter=true for use in MDLC + NDLC ([@snakefoot](https://github.com/snakefoot))
> - [#3662](https://github-redirect.dependabot.com/NLog/NLog/pull/3662) FileTarget - Extra logging when FileName Layout renders empty string ([@snakefoot](https://github.com/snakefoot))
>
> #### Performance
> - [#3618](https://github-redirect.dependabot.com/NLog/NLog/pull/3618) LogFactory - Faster initial assembly reflection and config loading ([@snakefoot](https://github.com/snakefoot))
> - [#3635](https://github-redirect.dependabot.com/NLog/NLog/pull/3635) ConsoleTarget - Added WriteBuffer option that allows batch writing to console-stream with reduced allocations ([@snakefoot](https://github.com/snakefoot))
> - [#3635](https://github-redirect.dependabot.com/NLog/NLog/pull/3635) ConsoleTarget - Added global lock to prevent any threadsafety issue from unsafe console ([@snakefoot](https://github.com/snakefoot))
>
> ## NLog 4.6.7
> #### Features
> - [#3531](https://github-redirect.dependabot.com/NLog/NLog/pull/3531) Added ${object-path} / ${exception:objectpath=PropertyName}, for rendering a property of an object (e.g. an exception) ([#3531](https://github-redirect.dependabot.com/NLog/NLog/issues/3531)) ([@304NotModified](https://github.com/304NotModified))
> - [#3560](https://github-redirect.dependabot.com/NLog/NLog/pull/3560) WhenMethodFilter - Support dynamic filtering using lambda ([#3560](https://github-redirect.dependabot.com/NLog/NLog/issues/3560)) ([@snakefoot](https://github.com/snakefoot))
> - [#3184](https://github-redirect.dependabot.com/NLog/NLog/pull/3184) Added support for dynamic layout renderer in log level filters (e.g. minLevel, maxLevel) ([#3184](https://github-redirect.dependabot.com/NLog/NLog/issues/3184)) ([@snakefoot](https://github.com/snakefoot))
> - [#3558](https://github-redirect.dependabot.com/NLog/NLog/pull/3558) ExceptionLayoutRenderer - Added Source as new format parameter. ([@snakefoot](https://github.com/snakefoot))
> - [#3523](https://github-redirect.dependabot.com/NLog/NLog/pull/3523) ColoredConsoleTarget - Added DetectOutputRedirected to skip coloring on redirect ([@snakefoot](https://github.com/snakefoot))
>
> #### Improvements
>
> - [#3541](https://github-redirect.dependabot.com/NLog/NLog/pull/3541) MessageTemplateParameters - Improve validation of parameters when isPositional ([#3541](https://github-redirect.dependabot.com/NLog/NLog/issues/3541)) ([@snakefoot](https://github.com/snakefoot))
> - [#3546](https://github-redirect.dependabot.com/NLog/NLog/pull/3546) NetworkTarget - HttpNetworkSender no longer sends out-of-order ([@snakefoot](https://github.com/snakefoot))
> - [#3522](https://github-redirect.dependabot.com/NLog/NLog/pull/3522) NetworkTarget - Fix InternalLogger.Trace to include Target name ([#3522](https://github-redirect.dependabot.com/NLog/NLog/issues/3522)) ([@snakefoot](https://github.com/snakefoot))
> - [#3562](https://github-redirect.dependabot.com/NLog/NLog/pull/3562) XML config - Support ThrowConfigExceptions=true even when xml is invalid ([@snakefoot](https://github.com/snakefoot))
> - [#3532](https://github-redirect.dependabot.com/NLog/NLog/pull/3532) Fix summary of NoRawValueLayoutRendererWrapper class ([#3532](https://github-redirect.dependabot.com/NLog/NLog/issues/3532)) ([@304NotModified](https://github.com/304NotModified))
>
> ... (truncated)
Changelog
*Sourced from [NLog's changelog](https://github.com/NLog/NLog/blob/v4.6.8/CHANGELOG.md).*
> ### V4.6.8 (2019/11/04)
>
> #### Bugfixes
> - [#3566](https://github-redirect.dependabot.com/NLog/NLog/pull/3566) DatabaseTarget - Auto escape special chars in password, and improve handling of empty username/password ([@304NotModified](https://github.com/304NotModified))
> - [#3584](https://github-redirect.dependabot.com/NLog/NLog/pull/3584) LoggingRule - Fixed IndexOutOfRangeException for SetLoggingLevels with LogLevel.Off ([@snakefoot](https://github.com/snakefoot))
> - [#3609](https://github-redirect.dependabot.com/NLog/NLog/pull/3609) FileTarget - Improved handling of relative path in ArchiveFileName ([@snakefoot](https://github.com/snakefoot))
> - [#3631](https://github-redirect.dependabot.com/NLog/NLog/pull/3631) ExceptionLayoutRenderer - Fixed missing separator when Format-value gives empty result ([@brinko99](https://github.com/brinko99))
> - [#3647](https://github-redirect.dependabot.com/NLog/NLog/pull/3647) ${substring} - Length should not be mandatory ([@304NotModified](https://github.com/304NotModified))
> - [#3653](https://github-redirect.dependabot.com/NLog/NLog/pull/3653) SimpleLayout - Fixed NullReferenceException in PreCalculate during TryGetRawValue optimization ([@snakefoot](https://github.com/snakefoot))
>
> #### Features
> - [#3578](https://github-redirect.dependabot.com/NLog/NLog/pull/3578) LogFactory - AutoShutdown can be configured to unhook from AppDomain-Unload, and avoid premature shutdown with IHostBuilder ([@snakefoot](https://github.com/snakefoot))
> - [#3579](https://github-redirect.dependabot.com/NLog/NLog/pull/3579) PerformanceCounterLayoutRenderer - Added Layout-support for Instance-property ([@snakefoot](https://github.com/snakefoot))
> - [#3583](https://github-redirect.dependabot.com/NLog/NLog/pull/3583) ${local-ip} Layout Renderer for local machine ip-address ([@snakefoot](https://github.com/snakefoot) + [@304NotModified](https://github.com/304NotModified))
> - [#3583](https://github-redirect.dependabot.com/NLog/NLog/pull/3583) CachedLayoutRendererWrapper - Added CachedSeconds as ambient property. Ex. ${local-ip:cachedSeconds=60} ([@snakefoot](https://github.com/snakefoot))
> - [#3586](https://github-redirect.dependabot.com/NLog/NLog/pull/3586) JsonLayout - Added EscapeForwardSlash-option to skip Json-escape of forward slash ([@304NotModified](https://github.com/304NotModified))
> - [#3593](https://github-redirect.dependabot.com/NLog/NLog/pull/3593) AllEventPropertiesLayoutRenderer - Added Exclude-option that specifies property-keys to skip ([@snakefoot](https://github.com/snakefoot))
> - [#3611](https://github-redirect.dependabot.com/NLog/NLog/pull/3611) ${Exception} - Added new Format-option values HResult and Properties ([@snakefoot](https://github.com/snakefoot))
>
> #### Improvements
> - [#3622](https://github-redirect.dependabot.com/NLog/NLog/pull/3622) + [#3651](https://github-redirect.dependabot.com/NLog/NLog/pull/3651) ConcurrentRequestQueue refactoring to reduce code complexity ([@snakefoot](https://github.com/snakefoot))
> - [#3636](https://github-redirect.dependabot.com/NLog/NLog/pull/3636) AsyncTargetWrapper now fallback to clearing internal queue if flush fails to release blocked writer threads ([@snakefoot](https://github.com/snakefoot))
> - [#3641](https://github-redirect.dependabot.com/NLog/NLog/pull/3641) ${CallSite} - Small improvements for recognizing async callsite cases ([@snakefoot](https://github.com/snakefoot))
> - [#3642](https://github-redirect.dependabot.com/NLog/NLog/pull/3642) LogManager.GetCurrentClassLogger - Improved capture of Logger name when called within lambda_method ([@snakefoot](https://github.com/snakefoot))
> - [#3649](https://github-redirect.dependabot.com/NLog/NLog/pull/3649) ${BaseDir=FixTempDir=true} fallback to process directory for .NET Core 3 Single File Publish ([@snakefoot](https://github.com/snakefoot))
> - [#3649](https://github-redirect.dependabot.com/NLog/NLog/pull/3649) Auto-loading NLog configuration from process.exe.nlog will priotize process directory for .NET Core 3 Single File Publish ([@snakefoot](https://github.com/snakefoot))
> - [#3654](https://github-redirect.dependabot.com/NLog/NLog/pull/3654) ObjectPathRendererWrapper minor refactorings ([@snakefoot](https://github.com/snakefoot))
> - [#3660](https://github-redirect.dependabot.com/NLog/NLog/pull/3660) ObjectHandleSerializer.GetObjectData includes SerializationFormatter=true for use in MDLC + NDLC ([@snakefoot](https://github.com/snakefoot))
> - [#3662](https://github-redirect.dependabot.com/NLog/NLog/pull/3662) FileTarget - Extra logging when FileName Layout renders empty string ([@snakefoot](https://github.com/snakefoot))
>
> #### Performance
> - [#3618](https://github-redirect.dependabot.com/NLog/NLog/pull/3618) LogFactory - Faster initial assembly reflection and config loading ([@snakefoot](https://github.com/snakefoot))
> - [#3635](https://github-redirect.dependabot.com/NLog/NLog/pull/3635) ConsoleTarget - Added WriteBuffer option that allows batch writing to console-stream with reduced allocations ([@snakefoot](https://github.com/snakefoot))
> - [#3635](https://github-redirect.dependabot.com/NLog/NLog/pull/3635) ConsoleTarget - Added global lock to prevent any threadsafety issue from unsafe console ([@snakefoot](https://github.com/snakefoot))
>
>
> ### V4.6.7 (2019/08/25)
>
> #### Features
> - [#3531](https://github-redirect.dependabot.com/NLog/NLog/pull/3531) Added ${object-path} / ${exception:objectpath=PropertyName}, for rendering a property of an object (e.g. an exception) ([#3531](https://github-redirect.dependabot.com/NLog/NLog/issues/3531)) ([@304NotModified](https://github.com/304NotModified))
> - [#3560](https://github-redirect.dependabot.com/NLog/NLog/pull/3560) WhenMethodFilter - Support dynamic filtering using lambda ([#3560](https://github-redirect.dependabot.com/NLog/NLog/issues/3560)) ([@snakefoot](https://github.com/snakefoot))
> - [#3184](https://github-redirect.dependabot.com/NLog/NLog/pull/3184) Added support for dynamic layout renderer in log level filters (e.g. minLevel, maxLevel) ([#3184](https://github-redirect.dependabot.com/NLog/NLog/issues/3184)) ([@snakefoot](https://github.com/snakefoot))
> - [#3558](https://github-redirect.dependabot.com/NLog/NLog/pull/3558) ExceptionLayoutRenderer - Added Source as new format parameter. ([@snakefoot](https://github.com/snakefoot))
> - [#3523](https://github-redirect.dependabot.com/NLog/NLog/pull/3523) ColoredConsoleTarget - Added DetectOutputRedirected to skip coloring on redirect ([@snakefoot](https://github.com/snakefoot))
>
> #### Improvements
>
> - [#3541](https://github-redirect.dependabot.com/NLog/NLog/pull/3541) MessageTemplateParameters - Improve validation of parameters when isPositional ([#3541](https://github-redirect.dependabot.com/NLog/NLog/issues/3541)) ([@snakefoot](https://github.com/snakefoot))
> - [#3546](https://github-redirect.dependabot.com/NLog/NLog/pull/3546) NetworkTarget - HttpNetworkSender no longer sends out-of-order ([@snakefoot](https://github.com/snakefoot))
> - [#3522](https://github-redirect.dependabot.com/NLog/NLog/pull/3522) NetworkTarget - Fix InternalLogger.Trace to include Target name ([#3522](https://github-redirect.dependabot.com/NLog/NLog/issues/3522)) ([@snakefoot](https://github.com/snakefoot))
> ... (truncated)
Commits
- See full diff in [compare view](https://github.com/NLog/NLog/commits/v4.6.8)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot will not automatically merge this PR because it includes a major update to a production dependency.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps NLog from 2.0.1.2 to 4.6.8.
Release notes
*Sourced from [NLog's releases](https://github.com/NLog/NLog/releases).* > ## NLog 4.6.8 > #### Bugfixes > - [#3566](https://github-redirect.dependabot.com/NLog/NLog/pull/3566) DatabaseTarget - Auto escape special chars in password, and improve handling of empty username/password ([@304NotModified](https://github.com/304NotModified)) > - [#3584](https://github-redirect.dependabot.com/NLog/NLog/pull/3584) LoggingRule - Fixed IndexOutOfRangeException for SetLoggingLevels with LogLevel.Off ([@snakefoot](https://github.com/snakefoot)) > - [#3609](https://github-redirect.dependabot.com/NLog/NLog/pull/3609) FileTarget - Improved handling of relative path in ArchiveFileName ([@snakefoot](https://github.com/snakefoot)) > - [#3631](https://github-redirect.dependabot.com/NLog/NLog/pull/3631) ExceptionLayoutRenderer - Fixed missing separator when Format-value gives empty result ([@brinko99](https://github.com/brinko99)) > - [#3647](https://github-redirect.dependabot.com/NLog/NLog/pull/3647) ${substring} - Length should not be mandatory ([@304NotModified](https://github.com/304NotModified)) > - [#3653](https://github-redirect.dependabot.com/NLog/NLog/pull/3653) SimpleLayout - Fixed NullReferenceException in PreCalculate during TryGetRawValue optimization ([@snakefoot](https://github.com/snakefoot)) > > #### Features > - [#3578](https://github-redirect.dependabot.com/NLog/NLog/pull/3578) LogFactory - AutoShutdown can be configured to unhook from AppDomain-Unload, and avoid premature shutdown with IHostBuilder ([@snakefoot](https://github.com/snakefoot)) > - [#3579](https://github-redirect.dependabot.com/NLog/NLog/pull/3579) PerformanceCounterLayoutRenderer - Added Layout-support for Instance-property ([@snakefoot](https://github.com/snakefoot)) > - [#3583](https://github-redirect.dependabot.com/NLog/NLog/pull/3583) ${local-ip} Layout Renderer for local machine ip-address ([@snakefoot](https://github.com/snakefoot) + [@304NotModified](https://github.com/304NotModified)) > - [#3583](https://github-redirect.dependabot.com/NLog/NLog/pull/3583) CachedLayoutRendererWrapper - Added CachedSeconds as ambient property. Ex. ${local-ip:cachedSeconds=60} ([@snakefoot](https://github.com/snakefoot)) > - [#3586](https://github-redirect.dependabot.com/NLog/NLog/pull/3586) JsonLayout - Added EscapeForwardSlash-option to skip Json-escape of forward slash ([@304NotModified](https://github.com/304NotModified)) > - [#3593](https://github-redirect.dependabot.com/NLog/NLog/pull/3593) AllEventPropertiesLayoutRenderer - Added Exclude-option that specifies property-keys to skip ([@snakefoot](https://github.com/snakefoot)) > - [#3611](https://github-redirect.dependabot.com/NLog/NLog/pull/3611) ${Exception} - Added new Format-option values HResult and Properties ([@snakefoot](https://github.com/snakefoot)) > > #### Improvements > - [#3622](https://github-redirect.dependabot.com/NLog/NLog/pull/3622) + [#3651](https://github-redirect.dependabot.com/NLog/NLog/pull/3651) ConcurrentRequestQueue refactoring to reduce code complexity ([@snakefoot](https://github.com/snakefoot)) > - [#3636](https://github-redirect.dependabot.com/NLog/NLog/pull/3636) AsyncTargetWrapper now fallback to clearing internal queue if flush fails to release blocked writer threads ([@snakefoot](https://github.com/snakefoot)) > - [#3641](https://github-redirect.dependabot.com/NLog/NLog/pull/3641) ${CallSite} - Small improvements for recognizing async callsite cases ([@snakefoot](https://github.com/snakefoot)) > - [#3642](https://github-redirect.dependabot.com/NLog/NLog/pull/3642) LogManager.GetCurrentClassLogger - Improved capture of Logger name when called within lambda_method ([@snakefoot](https://github.com/snakefoot)) > - [#3649](https://github-redirect.dependabot.com/NLog/NLog/pull/3649) ${BaseDir:FixTempDir=true} fallback to process directory for .NET Core 3 Single File Publish ([@snakefoot](https://github.com/snakefoot)) > - [#3649](https://github-redirect.dependabot.com/NLog/NLog/pull/3649) Auto-loading NLog configuration from process.exe.nlog will priotize process directory for .NET Core 3 Single File Publish ([@snakefoot](https://github.com/snakefoot)) > - [#3654](https://github-redirect.dependabot.com/NLog/NLog/pull/3654) ObjectPathRendererWrapper minor refactorings ([@snakefoot](https://github.com/snakefoot)) > - [#3660](https://github-redirect.dependabot.com/NLog/NLog/pull/3660) ObjectHandleSerializer.GetObjectData includes SerializationFormatter=true for use in MDLC + NDLC ([@snakefoot](https://github.com/snakefoot)) > - [#3662](https://github-redirect.dependabot.com/NLog/NLog/pull/3662) FileTarget - Extra logging when FileName Layout renders empty string ([@snakefoot](https://github.com/snakefoot)) > > #### Performance > - [#3618](https://github-redirect.dependabot.com/NLog/NLog/pull/3618) LogFactory - Faster initial assembly reflection and config loading ([@snakefoot](https://github.com/snakefoot)) > - [#3635](https://github-redirect.dependabot.com/NLog/NLog/pull/3635) ConsoleTarget - Added WriteBuffer option that allows batch writing to console-stream with reduced allocations ([@snakefoot](https://github.com/snakefoot)) > - [#3635](https://github-redirect.dependabot.com/NLog/NLog/pull/3635) ConsoleTarget - Added global lock to prevent any threadsafety issue from unsafe console ([@snakefoot](https://github.com/snakefoot)) > > ## NLog 4.6.7 > #### Features > - [#3531](https://github-redirect.dependabot.com/NLog/NLog/pull/3531) Added ${object-path} / ${exception:objectpath=PropertyName}, for rendering a property of an object (e.g. an exception) ([#3531](https://github-redirect.dependabot.com/NLog/NLog/issues/3531)) ([@304NotModified](https://github.com/304NotModified)) > - [#3560](https://github-redirect.dependabot.com/NLog/NLog/pull/3560) WhenMethodFilter - Support dynamic filtering using lambda ([#3560](https://github-redirect.dependabot.com/NLog/NLog/issues/3560)) ([@snakefoot](https://github.com/snakefoot)) > - [#3184](https://github-redirect.dependabot.com/NLog/NLog/pull/3184) Added support for dynamic layout renderer in log level filters (e.g. minLevel, maxLevel) ([#3184](https://github-redirect.dependabot.com/NLog/NLog/issues/3184)) ([@snakefoot](https://github.com/snakefoot)) > - [#3558](https://github-redirect.dependabot.com/NLog/NLog/pull/3558) ExceptionLayoutRenderer - Added Source as new format parameter. ([@snakefoot](https://github.com/snakefoot)) > - [#3523](https://github-redirect.dependabot.com/NLog/NLog/pull/3523) ColoredConsoleTarget - Added DetectOutputRedirected to skip coloring on redirect ([@snakefoot](https://github.com/snakefoot)) > > #### Improvements > > - [#3541](https://github-redirect.dependabot.com/NLog/NLog/pull/3541) MessageTemplateParameters - Improve validation of parameters when isPositional ([#3541](https://github-redirect.dependabot.com/NLog/NLog/issues/3541)) ([@snakefoot](https://github.com/snakefoot)) > - [#3546](https://github-redirect.dependabot.com/NLog/NLog/pull/3546) NetworkTarget - HttpNetworkSender no longer sends out-of-order ([@snakefoot](https://github.com/snakefoot)) > - [#3522](https://github-redirect.dependabot.com/NLog/NLog/pull/3522) NetworkTarget - Fix InternalLogger.Trace to include Target name ([#3522](https://github-redirect.dependabot.com/NLog/NLog/issues/3522)) ([@snakefoot](https://github.com/snakefoot)) > - [#3562](https://github-redirect.dependabot.com/NLog/NLog/pull/3562) XML config - Support ThrowConfigExceptions=true even when xml is invalid ([@snakefoot](https://github.com/snakefoot)) > - [#3532](https://github-redirect.dependabot.com/NLog/NLog/pull/3532) Fix summary of NoRawValueLayoutRendererWrapper class ([#3532](https://github-redirect.dependabot.com/NLog/NLog/issues/3532)) ([@304NotModified](https://github.com/304NotModified)) > > ... (truncated)Changelog
*Sourced from [NLog's changelog](https://github.com/NLog/NLog/blob/v4.6.8/CHANGELOG.md).* > ### V4.6.8 (2019/11/04) > > #### Bugfixes > - [#3566](https://github-redirect.dependabot.com/NLog/NLog/pull/3566) DatabaseTarget - Auto escape special chars in password, and improve handling of empty username/password ([@304NotModified](https://github.com/304NotModified)) > - [#3584](https://github-redirect.dependabot.com/NLog/NLog/pull/3584) LoggingRule - Fixed IndexOutOfRangeException for SetLoggingLevels with LogLevel.Off ([@snakefoot](https://github.com/snakefoot)) > - [#3609](https://github-redirect.dependabot.com/NLog/NLog/pull/3609) FileTarget - Improved handling of relative path in ArchiveFileName ([@snakefoot](https://github.com/snakefoot)) > - [#3631](https://github-redirect.dependabot.com/NLog/NLog/pull/3631) ExceptionLayoutRenderer - Fixed missing separator when Format-value gives empty result ([@brinko99](https://github.com/brinko99)) > - [#3647](https://github-redirect.dependabot.com/NLog/NLog/pull/3647) ${substring} - Length should not be mandatory ([@304NotModified](https://github.com/304NotModified)) > - [#3653](https://github-redirect.dependabot.com/NLog/NLog/pull/3653) SimpleLayout - Fixed NullReferenceException in PreCalculate during TryGetRawValue optimization ([@snakefoot](https://github.com/snakefoot)) > > #### Features > - [#3578](https://github-redirect.dependabot.com/NLog/NLog/pull/3578) LogFactory - AutoShutdown can be configured to unhook from AppDomain-Unload, and avoid premature shutdown with IHostBuilder ([@snakefoot](https://github.com/snakefoot)) > - [#3579](https://github-redirect.dependabot.com/NLog/NLog/pull/3579) PerformanceCounterLayoutRenderer - Added Layout-support for Instance-property ([@snakefoot](https://github.com/snakefoot)) > - [#3583](https://github-redirect.dependabot.com/NLog/NLog/pull/3583) ${local-ip} Layout Renderer for local machine ip-address ([@snakefoot](https://github.com/snakefoot) + [@304NotModified](https://github.com/304NotModified)) > - [#3583](https://github-redirect.dependabot.com/NLog/NLog/pull/3583) CachedLayoutRendererWrapper - Added CachedSeconds as ambient property. Ex. ${local-ip:cachedSeconds=60} ([@snakefoot](https://github.com/snakefoot)) > - [#3586](https://github-redirect.dependabot.com/NLog/NLog/pull/3586) JsonLayout - Added EscapeForwardSlash-option to skip Json-escape of forward slash ([@304NotModified](https://github.com/304NotModified)) > - [#3593](https://github-redirect.dependabot.com/NLog/NLog/pull/3593) AllEventPropertiesLayoutRenderer - Added Exclude-option that specifies property-keys to skip ([@snakefoot](https://github.com/snakefoot)) > - [#3611](https://github-redirect.dependabot.com/NLog/NLog/pull/3611) ${Exception} - Added new Format-option values HResult and Properties ([@snakefoot](https://github.com/snakefoot)) > > #### Improvements > - [#3622](https://github-redirect.dependabot.com/NLog/NLog/pull/3622) + [#3651](https://github-redirect.dependabot.com/NLog/NLog/pull/3651) ConcurrentRequestQueue refactoring to reduce code complexity ([@snakefoot](https://github.com/snakefoot)) > - [#3636](https://github-redirect.dependabot.com/NLog/NLog/pull/3636) AsyncTargetWrapper now fallback to clearing internal queue if flush fails to release blocked writer threads ([@snakefoot](https://github.com/snakefoot)) > - [#3641](https://github-redirect.dependabot.com/NLog/NLog/pull/3641) ${CallSite} - Small improvements for recognizing async callsite cases ([@snakefoot](https://github.com/snakefoot)) > - [#3642](https://github-redirect.dependabot.com/NLog/NLog/pull/3642) LogManager.GetCurrentClassLogger - Improved capture of Logger name when called within lambda_method ([@snakefoot](https://github.com/snakefoot)) > - [#3649](https://github-redirect.dependabot.com/NLog/NLog/pull/3649) ${BaseDir=FixTempDir=true} fallback to process directory for .NET Core 3 Single File Publish ([@snakefoot](https://github.com/snakefoot)) > - [#3649](https://github-redirect.dependabot.com/NLog/NLog/pull/3649) Auto-loading NLog configuration from process.exe.nlog will priotize process directory for .NET Core 3 Single File Publish ([@snakefoot](https://github.com/snakefoot)) > - [#3654](https://github-redirect.dependabot.com/NLog/NLog/pull/3654) ObjectPathRendererWrapper minor refactorings ([@snakefoot](https://github.com/snakefoot)) > - [#3660](https://github-redirect.dependabot.com/NLog/NLog/pull/3660) ObjectHandleSerializer.GetObjectData includes SerializationFormatter=true for use in MDLC + NDLC ([@snakefoot](https://github.com/snakefoot)) > - [#3662](https://github-redirect.dependabot.com/NLog/NLog/pull/3662) FileTarget - Extra logging when FileName Layout renders empty string ([@snakefoot](https://github.com/snakefoot)) > > #### Performance > - [#3618](https://github-redirect.dependabot.com/NLog/NLog/pull/3618) LogFactory - Faster initial assembly reflection and config loading ([@snakefoot](https://github.com/snakefoot)) > - [#3635](https://github-redirect.dependabot.com/NLog/NLog/pull/3635) ConsoleTarget - Added WriteBuffer option that allows batch writing to console-stream with reduced allocations ([@snakefoot](https://github.com/snakefoot)) > - [#3635](https://github-redirect.dependabot.com/NLog/NLog/pull/3635) ConsoleTarget - Added global lock to prevent any threadsafety issue from unsafe console ([@snakefoot](https://github.com/snakefoot)) > > > ### V4.6.7 (2019/08/25) > > #### Features > - [#3531](https://github-redirect.dependabot.com/NLog/NLog/pull/3531) Added ${object-path} / ${exception:objectpath=PropertyName}, for rendering a property of an object (e.g. an exception) ([#3531](https://github-redirect.dependabot.com/NLog/NLog/issues/3531)) ([@304NotModified](https://github.com/304NotModified)) > - [#3560](https://github-redirect.dependabot.com/NLog/NLog/pull/3560) WhenMethodFilter - Support dynamic filtering using lambda ([#3560](https://github-redirect.dependabot.com/NLog/NLog/issues/3560)) ([@snakefoot](https://github.com/snakefoot)) > - [#3184](https://github-redirect.dependabot.com/NLog/NLog/pull/3184) Added support for dynamic layout renderer in log level filters (e.g. minLevel, maxLevel) ([#3184](https://github-redirect.dependabot.com/NLog/NLog/issues/3184)) ([@snakefoot](https://github.com/snakefoot)) > - [#3558](https://github-redirect.dependabot.com/NLog/NLog/pull/3558) ExceptionLayoutRenderer - Added Source as new format parameter. ([@snakefoot](https://github.com/snakefoot)) > - [#3523](https://github-redirect.dependabot.com/NLog/NLog/pull/3523) ColoredConsoleTarget - Added DetectOutputRedirected to skip coloring on redirect ([@snakefoot](https://github.com/snakefoot)) > > #### Improvements > > - [#3541](https://github-redirect.dependabot.com/NLog/NLog/pull/3541) MessageTemplateParameters - Improve validation of parameters when isPositional ([#3541](https://github-redirect.dependabot.com/NLog/NLog/issues/3541)) ([@snakefoot](https://github.com/snakefoot)) > - [#3546](https://github-redirect.dependabot.com/NLog/NLog/pull/3546) NetworkTarget - HttpNetworkSender no longer sends out-of-order ([@snakefoot](https://github.com/snakefoot)) > - [#3522](https://github-redirect.dependabot.com/NLog/NLog/pull/3522) NetworkTarget - Fix InternalLogger.Trace to include Target name ([#3522](https://github-redirect.dependabot.com/NLog/NLog/issues/3522)) ([@snakefoot](https://github.com/snakefoot)) > ... (truncated)Commits
- See full diff in [compare view](https://github.com/NLog/NLog/commits/v4.6.8)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot will not automatically merge this PR because it includes a major update to a production dependency.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump now
in your Dependabot dashboard.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)