X

ASP.NET Core Logging

My posts about logging in ASP.NET Core and some source of some loggers like Syslog logger and fallback logger that supports falling back from main logger to backing one when logging to main logger fails.

ASP.NET Core: How log filtering works

Logging infrastructure of ASP.NET Core supports logs filtering that is useful when we need one logging configuration for development environment and the another for live environment by example. This blog post introduces log filtering in ASP.NET Core through simple dummy controller code samples.

ASP.NET Core: Implementing Syslog logger

My previous blog post Windows IoT Core: Logging to Syslog server introduced how to communicate with Syslog server from Windows 10 IoT Core applications. This blog post shows how to log messages to Syslog server from ASP.NET Core applications.

File logging on ASP.NET Core

ASP.NET Core introduces new framework level logging system. Although it is feature-rich it is not complex to use and it provides decent abstractions that fit well with the architecture of most web applications. This blog post shows how to set up and use file logging using framework-level dependency injection.

Defensive logging on ASP.NET Core

ASP.NET Core logging framework is intelligent one and it supports also so called defensive logging that helps us to have intelligent logs but still avoid putting additonal load to system when it’s not needed. This blog post is short overview of defensive logging on ASP.NET Core.