Slide 2
Slide 2 text
Logging
• Always configure a logger for use in production (e.g Serilog, Application
Insights)
• Use logging as the first step towards diagnosing problems with your
application
• Changing the verbosity is possible without an application restart
• To avoid logging too much information, pick specific categories to bump
the verbosity for
• ASP.NET logs to various places:
• ANCM (IIS) – Logs to the EventLog when it fails to launch the process
• ANCM also uses regular IIS failed request tracing
• Unhandled exceptions are logged to the configured logger providers by default