NLog.Web 5.3.4

NLog.Web

Integrates NLog with the System.Web.HttpContext. If using ASP.NET Core then check NLog.Web.AspNetCore.

Providing features like:

  • Enrich logging output with additional details from active HttpContext using NLog LayoutRenderers, by just updating the NLog configuration.
  • Supports HttpModule injection for HTTP Request Logging
  • Routing logging output to multiple destinations via the available NLog Targets
  • Rendering logging output into standard formats like JSON, CVS, W3C ELF and XML using NLog Layouts.
  • Contributions are always welcome, by creating a pull request.

Supported platforms:

  • .NET 3.5 - 4.8

Registration of NLog.Web in the NLog.config file:

<extensions>
    <add assembly="NLog.Web"/>
</extensions>

Registration of NLog.Web can also be performed with fluent setup:

NLog.LogManager.Setup().RegisterNLogWeb();

Useful Links

No packages depend on NLog.Web.

Remember to register NLog.Web in NLog.config <extensions> <add assembly="NLog.Web" /> </extensions> Alternative register NLog.Web from code: NLog.LogManager.Setup().RegisterNLogWeb() Full changelog: https://github.com/NLog/NLog.Web/releases List of available Layout Renderers: https://nlog-project.org/config/?tab=layout-renderers&search=package:nlog.web

.NET Framework 3.5

.NET Framework 4.6

Version Downloads Last updated
6.1.0 5 11/15/2025
6.0.6 5 11/12/2025
6.0.5 5 10/12/2025
6.0.4 7 09/15/2025
6.0.3 6 09/15/2025
6.0.2 7 09/15/2025
6.0.1 8 07/04/2025
6.0.0 8 06/27/2025
6.0.0-rc4 8 06/19/2025
6.0.0-rc3 7 06/19/2025
6.0.0-rc2 8 06/12/2025
5.5.0 8 06/12/2025
5.4.0 9 06/12/2025
5.3.15 9 01/23/2025
5.3.14 10 01/04/2025
5.3.13 9 01/23/2025
5.3.12 11 01/23/2025
5.3.11 11 05/14/2024
5.3.10 9 01/23/2025
5.3.9 10 05/14/2024
5.3.8 11 05/14/2024
5.3.7 12 05/14/2024
5.3.5 11 05/14/2024
5.3.4 12 05/14/2024
5.3.3 11 05/14/2024
5.3.2 12 05/13/2024
5.3.1 14 05/14/2024
5.3.0 11 05/14/2024
5.2.3 10 05/13/2024
5.2.2 14 05/13/2024
5.2.1 10 05/14/2024
5.2.0 10 05/14/2024
5.1.5 11 05/14/2024
5.1.4 12 05/14/2024
5.1.2 10 05/13/2024
5.1.1 11 05/14/2024
5.1.0 12 05/14/2024
5.0.0 9 05/12/2024
4.15.0 10 05/17/2024
4.14.0 11 05/14/2024
4.13.0 10 05/14/2024
4.12.0 9 05/14/2024
4.11.0 11 05/13/2024
4.10.0 16 05/14/2024
4.9.3 11 05/14/2024
4.9.2 10 05/14/2024
4.9.1 13 05/14/2024
4.9.0 11 05/14/2024
4.8.5 13 05/14/2024
4.8.4 11 05/13/2024
4.8.3 14 05/14/2024
4.8.2 14 05/14/2024
4.8.1 11 05/17/2024
4.8.0 11 05/14/2024
4.7.1 12 05/14/2024
4.7.0 10 05/14/2024
4.6.0 15 05/13/2024
4.5.3 12 05/12/2024
4.5.2 16 05/14/2024
4.5.1 12 05/14/2024
4.5.0 12 05/14/2024
4.4.0 11 05/14/2024
4.3.1 14 05/14/2024
4.3.0 11 05/14/2024
4.2.1 11 05/14/2024
4.2.0 11 05/17/2024
4.1.0 11 05/14/2024
4.0.0 10 05/14/2024
2.0.0 10 03/05/2024
1.0.8 12 05/14/2024