From the course: ASP.NET Core: Health Checks and Logging

You should care about logging and health checks - ASP.NET Core Tutorial

From the course: ASP.NET Core: Health Checks and Logging

Start my 1-month free trial

You should care about logging and health checks

- [Christian] Hi, and welcome to ASP.NET Core: Logging and Health Checks. My name is Christian Wenz and I would like to give you a primer of these two different, yet highly related topics. Most of the time, one of those topics is in much higher use than the other one, but I don't really understand it because both are crucial to tell you what's going on with your web application. First of all, we have logging, and logging tells us what exactly happens in our code. We can add commands to our code that create log entries, log entries that tell us what's going on, also log entries that tell us if something doesn't work exactly as we intended it to. Whereas health checks give us an almost binary information about our application as a whole. So health checks can tell us whether the application is running normally, whether it's running, but not normally, or whether it's not running at all. And combined, these two features, these two techniques, tell us exactly what's going on with our application. So, let's get started.

Contents