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))
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))
Commits
- [`ea26596`](https://github.com/NLog/NLog/commit/ea26596b1e101ab65441a191f5caf6221d753a54) Merge pull request [#3664](https://github-redirect.dependabot.com/NLog/NLog/issues/3664) from NLog/release/4.6.8
- [`c84ea9d`](https://github.com/NLog/NLog/commit/c84ea9d384b987895eea13d03c08dbab8a43d688) Version 4.6.8
- [`ceef787`](https://github.com/NLog/NLog/commit/ceef787b2315cbb574d2cdfc14b958a113036cc0) Version 4.6.8 changelog ([#3657](https://github-redirect.dependabot.com/NLog/NLog/issues/3657))
- [`42e82a5`](https://github.com/NLog/NLog/commit/42e82a52be5cd562c3d33a03a236769d48de124a) Fixes NullReferenceException in SimpleLayout PreCalculate after TryGetRawValu...
- [`307396f`](https://github.com/NLog/NLog/commit/307396f0b1ac14907cb57a24309ae7cb9e033197) FileTarget - Extra logging when FileName Layout returns empty filename ([#3662](https://github-redirect.dependabot.com/NLog/NLog/issues/3662))
- [`5c28ee7`](https://github.com/NLog/NLog/commit/5c28ee7c30623a6c9911061c0d00a3ae12d9421d) ObjectHandleSerializer - GetObjectData should be marked as SecurityCritical (...
- [`2bd4b4c`](https://github.com/NLog/NLog/commit/2bd4b4cdc6b9d248d05d748dc2963abafdafcdca) ObjectPathRendererWrapper - Refactoring to reduce code complexity ([#3654](https://github-redirect.dependabot.com/NLog/NLog/issues/3654))
- [`ee2a858`](https://github.com/NLog/NLog/commit/ee2a8588932113acc9060191b5b8641f56ff274c) ConcurrentRequestQueue - DequeueBatch should handle that input list is non-em...
- [`6f158b7`](https://github.com/NLog/NLog/commit/6f158b713c6ba98f148cd82c04dd1ff5d7ad2ead) BaseDirLayoutRenderer - Introduced FixTempDir to handle single file publish (...
- [`2399a3e`](https://github.com/NLog/NLog/commit/2399a3ecaa81351b6c7e17b6fb2a3f07f7a354d2) ${substring}: length should not be mandatory
- Additional commits viewable in [compare view](https://github.com/NLog/NLog/compare/v4.6.7...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 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)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps NLog from 4.6.7 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))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))Commits
- [`ea26596`](https://github.com/NLog/NLog/commit/ea26596b1e101ab65441a191f5caf6221d753a54) Merge pull request [#3664](https://github-redirect.dependabot.com/NLog/NLog/issues/3664) from NLog/release/4.6.8 - [`c84ea9d`](https://github.com/NLog/NLog/commit/c84ea9d384b987895eea13d03c08dbab8a43d688) Version 4.6.8 - [`ceef787`](https://github.com/NLog/NLog/commit/ceef787b2315cbb574d2cdfc14b958a113036cc0) Version 4.6.8 changelog ([#3657](https://github-redirect.dependabot.com/NLog/NLog/issues/3657)) - [`42e82a5`](https://github.com/NLog/NLog/commit/42e82a52be5cd562c3d33a03a236769d48de124a) Fixes NullReferenceException in SimpleLayout PreCalculate after TryGetRawValu... - [`307396f`](https://github.com/NLog/NLog/commit/307396f0b1ac14907cb57a24309ae7cb9e033197) FileTarget - Extra logging when FileName Layout returns empty filename ([#3662](https://github-redirect.dependabot.com/NLog/NLog/issues/3662)) - [`5c28ee7`](https://github.com/NLog/NLog/commit/5c28ee7c30623a6c9911061c0d00a3ae12d9421d) ObjectHandleSerializer - GetObjectData should be marked as SecurityCritical (... - [`2bd4b4c`](https://github.com/NLog/NLog/commit/2bd4b4cdc6b9d248d05d748dc2963abafdafcdca) ObjectPathRendererWrapper - Refactoring to reduce code complexity ([#3654](https://github-redirect.dependabot.com/NLog/NLog/issues/3654)) - [`ee2a858`](https://github.com/NLog/NLog/commit/ee2a8588932113acc9060191b5b8641f56ff274c) ConcurrentRequestQueue - DequeueBatch should handle that input list is non-em... - [`6f158b7`](https://github.com/NLog/NLog/commit/6f158b713c6ba98f148cd82c04dd1ff5d7ad2ead) BaseDirLayoutRenderer - Introduced FixTempDir to handle single file publish (... - [`2399a3e`](https://github.com/NLog/NLog/commit/2399a3ecaa81351b6c7e17b6fb2a3f07f7a354d2) ${substring}: length should not be mandatory - Additional commits viewable in [compare view](https://github.com/NLog/NLog/compare/v4.6.7...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 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) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)