Logging to Amazon CloudWatch Logs with ASP.NET

Photo by Sebastian Pociecha on Unsplash

Observability is the procedure of analyzing a software system by collecting and analyzing its data. Observability allows you to understand what is happening inside the system in order to debug software issues, analyze a system’s performance, identify usage patterns, triage security incidents, et al.

Logging is an important aspect of observability as logging is a crucial mechanism in capturing the data that needs to be analyzed. In this series, we’ll go over logging to Amazon CloudWatch Logs using three popular .NET logging platforms – Serilog, Log4Net and NLog.

How to Log to CloudWatch Logs using ASP.NET and Serilog

How to Log with ASP.NET, NLog and Amazon CloudWatch Logs

How to Log with CloudWatch Logs, ASP.NET and Log4Net