Software Alternatives & Reviews

Serilog VS NLog

Compare Serilog VS NLog and see what are their differences

Serilog logo Serilog

Backend Development and Utilities

NLog logo NLog

NLog is a free logging platform for .NET with rich log routing and management capabilities.
  • Serilog Landing page
    Landing page //
    2020-01-19
  • NLog Landing page
    Landing page //
    2023-01-07

Serilog videos

SnapDevelop API Logging with Serilog and Seq

More videos:

  • Review - Thrashing Code Session C# A004 - Jetbrains Rider Env Var Explained - Serilog Logging - Travis CI

NLog videos

NLog Synth PRO - AUv3 Synth - Amazingly CPU Friendly Synth - Review & Demo

More videos:

  • Demo - IOS Synth Review: NLog Pro Synth Overview and Sound Demos

Category Popularity

0-100% (relative to Serilog and NLog)
Monitoring Tools
62 62%
38% 38
Development
52 52%
48% 48
Backup & Restore
53 53%
47% 47
Log Management
70 70%
30% 30

User comments

Share your experience with using Serilog and NLog. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Serilog should be more popular than NLog. It has been mentiond 12 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Serilog mentions (12)

  • Using toast notifications in Windows Forms
    Captured in public static void OnActivated() and note Log is SeriLog. - Source: dev.to / 11 months ago
  • EF Core Handling Concurrency Conflicts
    📌 Serilog NuGet package is used to log what goes on under the covers which will help to better understand how dealing with concurrency conflicts works and what information is available to a developer. - Source: dev.to / over 1 year ago
  • Lnav – An advanced log file viewer for the small-scale
    Take a look at the docs linked on the main page of Serilog[1] and the various videos[2] and blog posts[3] by the devs who make Seq. [1]: https://serilog.net/ [2]: https://datalust.co/ [3]: https://blog.datalust.co/. - Source: Hacker News / over 1 year ago
  • Three NuGet packages to improve exceptions in .NET/C#
    It surprised me for a bit, because Serliog's whole thing is "structured events ... Structured event data" (from https://serilog.net/ ). Source: over 1 year ago
  • Set up Serilog in .NET 6 as a logging provider
    The Serilog Documentation is 1000x better than this blog post. Source: almost 2 years ago
View more

NLog mentions (5)

  • Best approach for logging in ASP.NET
    Log4Net does not get that much attention any more. From my understanding it served as an alternative for Log4J, but today better and more modern solutions have been created. I migrated a codebase over to .NET Core a couple of years ago, and it seemed that Log4net had issues running on Linux because of kernel calls inside their codebase. If you look at the version history on NuGet, it had just 3 patch releases last... Source: about 1 year ago
  • Powershell logging module
    I'm going to look at psframework mentioned elsewhere, but I make use of .NET NLog https://nlog-project.org/. it's not terribly hard to wire up, and is pretty feature rich. Source: over 1 year ago
  • Writing logs into Elastic with NLog , ELK and .Net 5.0
    On the other hand, NLog is a flexible and free logging platform for various .NET platforms, including .NET standard. NLog makes it easy to write to several targets. (database, file, console) and change the logging configuration on-the-fly. - Source: dev.to / over 2 years ago
  • How do you separate production code from development code? Do you manually remove logging at every release?
    For instance, we use NLog for our .NET projects. The nice thing there is that you use an external configuration file (nlog.config or your application's default configuration file) to configure logging. You can specify various "loggers" and "appenders", so that you can route your logs to several places, and all you have to do is change configuration between environments. You can do things like allowing for... Source: almost 3 years ago
  • Printing on paper with Python 🖨️
    I was given discarded Lenovo T470s laptops that were put in the assembly department so the personnel could use the application. Because I was tied to Windows and had to create a GUI for easy usage, I decided to create a C# program in Microsoft Visual Studio because creating a GUI for Windows was very easy that way. It would create local HTML files using the Barcode Rendering Framework NuGet package for creating... - Source: dev.to / almost 3 years ago

What are some alternatives?

When comparing Serilog and NLog, you can also consider the following products

log4net - log4net is a tool to help the programmer output log statements to a variety of output targets.

AWS CloudTrail - AWS CloudTrail is a web service that records AWS API calls for your account and delivers log files to you.

Logmatic - Logmatic is a log centralization, analytics & visualization platform to improve software & business performance.

Logary - Professional logging metrics and analytics for your apps

LOGBack - Logging framework

Logazmic - Logazmic is a windows log viewer tool that allows you to view multiple logs on the same screen and filter them.