Application Instrumentation using log4net
Everything you need to know to start using log4net quickly and effectively.
What you'll learn
Sure, as a developer you have access to the source code, but without instrumentation your applications turn into silent black boxes in production. Logging is a simple way to let your application describe its health and operations in a way that is readily consumable by both you and software, and it can provide significant insight when working out bugs. Log4net is one of the most used logging libraries for the .NET platform, with a proven track record going back to 2001. This course is aimed at getting you up and running with log4net, starting with answering the common configuration questions and moving through the entire log4net stack. Included in the course are discussions of effective and advanced logging tactics, such as applying logging through common design patterns and Aspect-Oriented programming. In addition the course demonstrates how you can tap into the modular log4net architecture and extend it with your own code.
Table of contents
- Shared Appender Properties 2m
- Console Appenders 5m
- Debug and Trace Appenders 5m
- EventLog Appender 6m
- File Appender 8m
- Rolling File Appender 15m
- ADO.NET Appender 10m
- ASP.NET Trace Appender 2m
- Remoting Appender 5m
- Telnet Appender 2m
- UDP Appender 3m
- SMTP and SMTPPickupDir Appenders 5m
- Forwarding and Buffering Appenders 7m
- Introduction to Filters 3m
- Level Match: Filtering Messages on A Single Severity Level 5m
- Level Range: Filtering Messages on A Range of Severity Levels 5m
- Logger Match: Filtering Messages on The Name of The Logger 5m
- String Match: Filtering Messages on The Log Message Contents 3m
- Property Match: Filtering Messages on The Value of A Log Property 3m
- Demo: Chaining Filters 5m
- Summary 1m
- Advanced Tactics: Reducing Friction, Object Patterns, and AOP 1m
- The 12-year Gap in The Log4net API 3m
- Applying Generics to Logger Object Creation 2m
- Implemeting Deferred Logging 4m
- Implementing Logger On-Demand 2m
- Disposable Activities 4m
- Logging Decorators 5m
- Logging with PostSharp Aspects 8m
- Summary 1m