Release notes
*Sourced from [NLog.Config's releases](https://github.com/NLog/NLog/releases).*
> ## NLog 4.6.2
> ### Bugfixes
>
> - [#3260](https://github-redirect.dependabot.com/NLog/NLog/pull/3260) Fix escaping nested close brackets when parsing layout renderers ([@lobster2012](https://github.com/lobster2012)-user)
> - [#3271](https://github-redirect.dependabot.com/NLog/NLog/pull/3271) NLog config - Fixed bug where empty xml-elements were ignored ([@snakefoot](https://github.com/snakefoot), [@jonreis](https://github.com/jonreis))
>
> ## NLog 4.6.1
> #### Bugfixes
>
> - [#3199](https://github-redirect.dependabot.com/NLog/NLog/pull/3199) LoggingConfigurationParser - Fixed bug in handling of extensions prefix ([@snakefoot](https://github.com/snakefoot))
> - [#3253](https://github-redirect.dependabot.com/NLog/NLog/pull/3253) Fix wrong warnings on `` element (only wrong warnings) ([#3253](https://github-redirect.dependabot.com/NLog/NLog/issues/3253)) ([@snakefoot](https://github.com/snakefoot), [@304NotModified](https://github.com/304NotModified))
> - [#3195](https://github-redirect.dependabot.com/NLog/NLog/pull/3195) SimpleStringReader: fix DebuggerDisplay value ([#3195](https://github-redirect.dependabot.com/NLog/NLog/issues/3195)) ([@lobster2012](https://github.com/lobster2012)-user)
> - [#3198](https://github-redirect.dependabot.com/NLog/NLog/pull/3198) XmlLayout - Fixed missing encode of xml element value ([@snakefoot](https://github.com/snakefoot))
> - [#3191](https://github-redirect.dependabot.com/NLog/NLog/pull/3191) VariableLayoutRenderer - Fixed format-string for internal logger warning ([@snakefoot](https://github.com/snakefoot), [@lobster2012](https://github.com/lobster2012)-user)
> - [#3258](https://github-redirect.dependabot.com/NLog/NLog/pull/3258) Fix error with Embedded Assembly in LogAssemblyVersion ([@snakefoot](https://github.com/snakefoot))
>
> #### Improvements
>
> - [#3255](https://github-redirect.dependabot.com/NLog/NLog/pull/3255) Auto-flush on process exit improvements ([@snakefoot](https://github.com/snakefoot))
> - [#3189](https://github-redirect.dependabot.com/NLog/NLog/pull/3189) AsyncTaskTarget - Respect TaskDelayMilliseconds on low activity ([@snakefoot](https://github.com/snakefoot))
>
> #### Performance
>
> - [#3256](https://github-redirect.dependabot.com/NLog/NLog/pull/3256) ${NDLC} + ${NDC} - Faster checking when TopFrames = 1 ([@snakefoot](https://github.com/snakefoot))
> - [#3201](https://github-redirect.dependabot.com/NLog/NLog/pull/3201) ${GDC} reading is now lockfree ([#3201](https://github-redirect.dependabot.com/NLog/NLog/issues/3201)) ([@snakefoot](https://github.com/snakefoot))
>
> ## NLog 4.6
> See https://nlog-project.org/2019/03/20/nlog-4-6-is-live.html
>
> ### Features
>
> #### Main Feature
>
> * Database target: support for DbType for parameters (including SqlDbType) - [#2363](https://github-redirect.dependabot.com/NLog/NLog/issues/2363) + [#2899](https://github-redirect.dependabot.com/NLog/NLog/issues/2899) + [#3085](https://github-redirect.dependabot.com/NLog/NLog/issues/3085) + [#3091](https://github-redirect.dependabot.com/NLog/NLog/issues/3091) ([@hubo0831](https://github.com/hubo0831), [@ObikeDev](https://github.com/ObikeDev), [@sorvis](https://github.com/sorvis), [@304NotModified](https://github.com/304NotModified), [@snakefoot](https://github.com/snakefoot))
>
> #### XML config features
>
> * Added support for constant variable in level attributes - [#2709](https://github-redirect.dependabot.com/NLog/NLog/issues/2709) (level, minlevel, etc) ([@304NotModified](https://github.com/304NotModified))
> * Added defaultAction option for - [#2848](https://github-redirect.dependabot.com/NLog/NLog/issues/2848) ([@304NotModified](https://github.com/304NotModified))
> * Rules now support multiple '*' and '?' wildcards and in any position - [#3098](https://github-redirect.dependabot.com/NLog/NLog/issues/3098) ([@beppemarazzi](https://github.com/beppemarazzi))
> * Added Support ${currentdir}, ${basedir}, ${tempdir} and environment variables in internalLogFile value - [#3031](https://github-redirect.dependabot.com/NLog/NLog/issues/3031) + [#3092](https://github-redirect.dependabot.com/NLog/NLog/issues/3092) ([@snakefoot](https://github.com/snakefoot))
>
> #### New targets, layouts and layout renderers
>
> * Added XmlLayout - Render LogEventInfo.Properties as XML - [#2670](https://github-redirect.dependabot.com/NLog/NLog/issues/2670) + [#3014](https://github-redirect.dependabot.com/NLog/NLog/issues/3014) ([@snakefoot](https://github.com/snakefoot))
> * Added ${db-null} layout renderer - [#2849](https://github-redirect.dependabot.com/NLog/NLog/issues/2849) ([@304NotModified](https://github.com/304NotModified))
> * Added New ${substring}, ${left} & ${right} layoutrenderer wrappers - [#2907](https://github-redirect.dependabot.com/NLog/NLog/issues/2907) ([@304NotModified](https://github.com/304NotModified))
> * Added ${HostName} Layout Renderer for full computer DNS name - [#3071](https://github-redirect.dependabot.com/NLog/NLog/issues/3071) ([@amitsaha](https://github.com/amitsaha))
> * Added ${AppSetting} Layout Renderer (app.config + web.config) moved from NLog.Extended for NetFramework - [#3053](https://github-redirect.dependabot.com/NLog/NLog/issues/3053) ([@snakefoot](https://github.com/snakefoot))
> * Added noRawValue layout wrapper - [#3165](https://github-redirect.dependabot.com/NLog/NLog/issues/3165) ([@snakefoot](https://github.com/snakefoot))
> ... (truncated)
Changelog
*Sourced from [NLog.Config's changelog](https://github.com/NLog/NLog/blob/dev/CHANGELOG.md).*
> ### V4.6.2 (2019/04/02)
>
> #### Bugfixes
>
> - [#3260](https://github-redirect.dependabot.com/NLog/NLog/pull/3260) Fix escaping nested close brackets when parsing layout renderers ([@lobster2012](https://github.com/lobster2012)-user)
> - [#3271](https://github-redirect.dependabot.com/NLog/NLog/pull/3271) NLog config - Fixed bug where empty xml-elements were ignored ([@snakefoot](https://github.com/snakefoot), [@jonreis](https://github.com/jonreis))
>
>
> ### V4.6.1 (2019/03/29)
>
> #### Bugfixes
>
> - [#3199](https://github-redirect.dependabot.com/NLog/NLog/pull/3199) LoggingConfigurationParser - Fixed bug in handling of extensions prefix ([@snakefoot](https://github.com/snakefoot))
> - [#3253](https://github-redirect.dependabot.com/NLog/NLog/pull/3253) Fix wrong warnings on `` element (only wrong warnings) ([#3253](https://github-redirect.dependabot.com/NLog/NLog/issues/3253)) ([@snakefoot](https://github.com/snakefoot), [@304NotModified](https://github.com/304NotModified))
> - [#3195](https://github-redirect.dependabot.com/NLog/NLog/pull/3195) SimpleStringReader: fix DebuggerDisplay value ([#3195](https://github-redirect.dependabot.com/NLog/NLog/issues/3195)) ([@lobster2012](https://github.com/lobster2012)-user)
> - [#3198](https://github-redirect.dependabot.com/NLog/NLog/pull/3198) XmlLayout - Fixed missing encode of xml element value ([@snakefoot](https://github.com/snakefoot))
> - [#3191](https://github-redirect.dependabot.com/NLog/NLog/pull/3191) VariableLayoutRenderer - Fixed format-string for internal logger warning ([@snakefoot](https://github.com/snakefoot), [@lobster2012](https://github.com/lobster2012)-user)
> - [#3258](https://github-redirect.dependabot.com/NLog/NLog/pull/3258) Fix error with Embedded Assembly in LogAssemblyVersion ([@snakefoot](https://github.com/snakefoot))
>
> #### Improvements
>
> - [#3255](https://github-redirect.dependabot.com/NLog/NLog/pull/3255) Auto-flush on process exit improvements ([@snakefoot](https://github.com/snakefoot))
> - [#3189](https://github-redirect.dependabot.com/NLog/NLog/pull/3189) AsyncTaskTarget - Respect TaskDelayMilliseconds on low activity ([@snakefoot](https://github.com/snakefoot))
>
> #### Performance
>
> - [#3256](https://github-redirect.dependabot.com/NLog/NLog/pull/3256) ${NDLC} + ${NDC} - Faster checking when TopFrames = 1 ([@snakefoot](https://github.com/snakefoot))
> - [#3201](https://github-redirect.dependabot.com/NLog/NLog/pull/3201) ${GDC} reading is now lockfree ([#3201](https://github-redirect.dependabot.com/NLog/NLog/issues/3201)) ([@snakefoot](https://github.com/snakefoot))
>
> ### V4.6
>
> #### Features
>
> - [#2363](https://github-redirect.dependabot.com/NLog/NLog/pull/2363) + [#2899](https://github-redirect.dependabot.com/NLog/NLog/pull/2899) + [#3085](https://github-redirect.dependabot.com/NLog/NLog/pull/3085) + [#3091](https://github-redirect.dependabot.com/NLog/NLog/pull/3091) Database target: support for DbType for parameters (including SqlDbType) - ([@hubo0831](https://github.com/hubo0831),[@ObikeDev](https://github.com/ObikeDev),[@sorvis](https://github.com/sorvis), [@304NotModified](https://github.com/304NotModified), [@snakefoot](https://github.com/snakefoot))
> - [#2610](https://github-redirect.dependabot.com/NLog/NLog/pull/2610) AsyncTargetWrapper with LogEventDropped- + LogEventQueueGrow-events ([@Pomoinytskyi](https://github.com/Pomoinytskyi))
> - [#2670](https://github-redirect.dependabot.com/NLog/NLog/pull/2670) + [#3014](https://github-redirect.dependabot.com/NLog/NLog/pull/3014) XmlLayout - Render LogEventInfo.Properties as XML ([@snakefoot](https://github.com/snakefoot))
> - [#2678](https://github-redirect.dependabot.com/NLog/NLog/pull/2678) NetworkTarget - Support for SSL & TLS ([@snakefoot](https://github.com/snakefoot))
> - [#2709](https://github-redirect.dependabot.com/NLog/NLog/pull/2709) XML Config: Support for constant variable in level attributes (level, minlevel, etc) ([@304NotModified](https://github.com/304NotModified))
> - [#2848](https://github-redirect.dependabot.com/NLog/NLog/pull/2848) Added defaultAction for ([@304NotModified](https://github.com/304NotModified))
> - [#2849](https://github-redirect.dependabot.com/NLog/NLog/pull/2849) IRawValue-interface and ${db-null} layout renderer ([@304NotModified](https://github.com/304NotModified))
> - [#2902](https://github-redirect.dependabot.com/NLog/NLog/pull/2902) JsonLayout with support for System.Dynamic-objects ([@304NotModified](https://github.com/304NotModified))
> - [#2907](https://github-redirect.dependabot.com/NLog/NLog/pull/2907) New Substring, Left & Right Wrappers ([@304NotModified](https://github.com/304NotModified))
> - [#3098](https://github-redirect.dependabot.com/NLog/NLog/pull/3098) support for one or more '*' and '?' wildcards and in any position ([@beppemarazzi](https://github.com/beppemarazzi))
> - [#2909](https://github-redirect.dependabot.com/NLog/NLog/pull/2909) AsyncTaskTarget - BatchSize + RetryCount ([@snakefoot](https://github.com/snakefoot))
> - [#3018](https://github-redirect.dependabot.com/NLog/NLog/pull/3018) ColoredConsoleTarget - Added EnableAnsiOutput option (VS Code support) ([@jp7677](https://github.com/jp7677) + [@snakefoot](https://github.com/snakefoot))
> - [#3031](https://github-redirect.dependabot.com/NLog/NLog/pull/3031) + [#3092](https://github-redirect.dependabot.com/NLog/NLog/pull/3092) Support ${currentdir},${basedir},${tempdir} and Environment Variables for internalLogFile when parsing nlog.config ([@snakefoot](https://github.com/snakefoot))
> - [#3050](https://github-redirect.dependabot.com/NLog/NLog/pull/3050) Added IncludeGdc property in JsonLayout ([@casperc89](https://github.com/casperc89))
> - [#3071](https://github-redirect.dependabot.com/NLog/NLog/pull/3071) ${HostName} Layout Renderer for full computer DNS name ([@amitsaha](https://github.com/amitsaha))
> - [#3053](https://github-redirect.dependabot.com/NLog/NLog/pull/3053) ${AppSetting} Layout Renderer (app.config + web.config) moved from NLog.Extended for NetFramework ([@snakefoot](https://github.com/snakefoot))
> - [#3060](https://github-redirect.dependabot.com/NLog/NLog/pull/3060) TargetWithContext - Support for PropertyType using IRawValue-interface ([@snakefoot](https://github.com/snakefoot))
> ... (truncated)
Commits
- [`e86aa8a`](https://github.com/NLog/NLog/commit/e86aa8a3ca4ab7c4c3eb7ed54110333ff0fdabc9) Merge pull request [#3272](https://github-redirect.dependabot.com/NLog/NLog/issues/3272) from NLog/release/4.6.2
- [`26b1415`](https://github.com/NLog/NLog/commit/26b14154a8168471fb2b5f7851fe237528cdfa06) Version 4.6.2, release notes
- [`fb2f0f1`](https://github.com/NLog/NLog/commit/fb2f0f1640629e7e8aa391d6e57a348ebbcd43b6) Merge pull request [#3271](https://github-redirect.dependabot.com/NLog/NLog/issues/3271) from snakefoot/LoggingConfigurationParserEmptyNodeBug
- [`79a8423`](https://github.com/NLog/NLog/commit/79a8423ebf7910065ff99128deea2f95b191a600) LoggingConfigurationParser - Fixed bug where xml-node-elements without Value ...
- [`a3ce8ae`](https://github.com/NLog/NLog/commit/a3ce8ae6c58c1ad90340153d0375ec680c779559) Fix escaping nested close brackets ([#3260](https://github-redirect.dependabot.com/NLog/NLog/issues/3260))
- [`fd4a199`](https://github.com/NLog/NLog/commit/fd4a199a5aedfadfd3a92bb4c03e3973363934b4) Merge branch 'master' into dev
- [`a67a68e`](https://github.com/NLog/NLog/commit/a67a68eb48d001aaf9906d86129b4a2221a2ceeb) Merge pull request [#3262](https://github-redirect.dependabot.com/NLog/NLog/issues/3262) from snakefoot/AssemblyVersionTestFaster
- [`6c7b7dd`](https://github.com/NLog/NLog/commit/6c7b7dd85cdae31eaff16d2c0ce357d683a53f95) Merge pull request [#3245](https://github-redirect.dependabot.com/NLog/NLog/issues/3245) from NLog/dependabot/nuget/tests/NLog.UnitTests/Micr...
- [`686ce5a`](https://github.com/NLog/NLog/commit/686ce5a5de42807f1da751f205ad59d78c772d84) AssemblyVersionLayoutRenderer - Tests should reuse the in-memory build assembly
- [`af8a9a6`](https://github.com/NLog/NLog/commit/af8a9a62ca69d819543483760e1e76c4c2a38cd8) Merge pull request [#3257](https://github-redirect.dependabot.com/NLog/NLog/issues/3257) from NLog/release/4.6.1
- Additional commits viewable in [compare view](https://github.com/NLog/NLog/compare/v4.5.11...v4.6.2)
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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- 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)
Finally, you can contact us by mentioning @dependabot.
Bumps NLog.Config from 4.5.11 to 4.6.2.
Release notes
*Sourced from [NLog.Config's releases](https://github.com/NLog/NLog/releases).* > ## NLog 4.6.2 > ### Bugfixes > > - [#3260](https://github-redirect.dependabot.com/NLog/NLog/pull/3260) Fix escaping nested close brackets when parsing layout renderers ([@lobster2012](https://github.com/lobster2012)-user) > - [#3271](https://github-redirect.dependabot.com/NLog/NLog/pull/3271) NLog config - Fixed bug where empty xml-elements were ignored ([@snakefoot](https://github.com/snakefoot), [@jonreis](https://github.com/jonreis)) > > ## NLog 4.6.1 > #### Bugfixes > > - [#3199](https://github-redirect.dependabot.com/NLog/NLog/pull/3199) LoggingConfigurationParser - Fixed bug in handling of extensions prefix ([@snakefoot](https://github.com/snakefoot)) > - [#3253](https://github-redirect.dependabot.com/NLog/NLog/pull/3253) Fix wrong warnings on `Changelog
*Sourced from [NLog.Config's changelog](https://github.com/NLog/NLog/blob/dev/CHANGELOG.md).* > ### V4.6.2 (2019/04/02) > > #### Bugfixes > > - [#3260](https://github-redirect.dependabot.com/NLog/NLog/pull/3260) Fix escaping nested close brackets when parsing layout renderers ([@lobster2012](https://github.com/lobster2012)-user) > - [#3271](https://github-redirect.dependabot.com/NLog/NLog/pull/3271) NLog config - Fixed bug where empty xml-elements were ignored ([@snakefoot](https://github.com/snakefoot), [@jonreis](https://github.com/jonreis)) > > > ### V4.6.1 (2019/03/29) > > #### Bugfixes > > - [#3199](https://github-redirect.dependabot.com/NLog/NLog/pull/3199) LoggingConfigurationParser - Fixed bug in handling of extensions prefix ([@snakefoot](https://github.com/snakefoot)) > - [#3253](https://github-redirect.dependabot.com/NLog/NLog/pull/3253) Fix wrong warnings on `Commits
- [`e86aa8a`](https://github.com/NLog/NLog/commit/e86aa8a3ca4ab7c4c3eb7ed54110333ff0fdabc9) Merge pull request [#3272](https://github-redirect.dependabot.com/NLog/NLog/issues/3272) from NLog/release/4.6.2 - [`26b1415`](https://github.com/NLog/NLog/commit/26b14154a8168471fb2b5f7851fe237528cdfa06) Version 4.6.2, release notes - [`fb2f0f1`](https://github.com/NLog/NLog/commit/fb2f0f1640629e7e8aa391d6e57a348ebbcd43b6) Merge pull request [#3271](https://github-redirect.dependabot.com/NLog/NLog/issues/3271) from snakefoot/LoggingConfigurationParserEmptyNodeBug - [`79a8423`](https://github.com/NLog/NLog/commit/79a8423ebf7910065ff99128deea2f95b191a600) LoggingConfigurationParser - Fixed bug where xml-node-elements without Value ... - [`a3ce8ae`](https://github.com/NLog/NLog/commit/a3ce8ae6c58c1ad90340153d0375ec680c779559) Fix escaping nested close brackets ([#3260](https://github-redirect.dependabot.com/NLog/NLog/issues/3260)) - [`fd4a199`](https://github.com/NLog/NLog/commit/fd4a199a5aedfadfd3a92bb4c03e3973363934b4) Merge branch 'master' into dev - [`a67a68e`](https://github.com/NLog/NLog/commit/a67a68eb48d001aaf9906d86129b4a2221a2ceeb) Merge pull request [#3262](https://github-redirect.dependabot.com/NLog/NLog/issues/3262) from snakefoot/AssemblyVersionTestFaster - [`6c7b7dd`](https://github.com/NLog/NLog/commit/6c7b7dd85cdae31eaff16d2c0ce357d683a53f95) Merge pull request [#3245](https://github-redirect.dependabot.com/NLog/NLog/issues/3245) from NLog/dependabot/nuget/tests/NLog.UnitTests/Micr... - [`686ce5a`](https://github.com/NLog/NLog/commit/686ce5a5de42807f1da751f205ad59d78c772d84) AssemblyVersionLayoutRenderer - Tests should reuse the in-memory build assembly - [`af8a9a6`](https://github.com/NLog/NLog/commit/af8a9a62ca69d819543483760e1e76c4c2a38cd8) Merge pull request [#3257](https://github-redirect.dependabot.com/NLog/NLog/issues/3257) from NLog/release/4.6.1 - Additional commits viewable in [compare view](https://github.com/NLog/NLog/compare/v4.5.11...v4.6.2)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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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) - Automerge options (never/patch/minor, and dev/runtime dependencies) - 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) Finally, you can contact us by mentioning @dependabot.