IIS 7 and Above
Debug/trace output from IIS 10
Last post Jun 26, 2018 09:11 AM by deepakpanchal10
Jun 24, 2018 11:20 PM|JMetcoff|LINK
I am running IIS 10 on an Azure server with a simple ASP.NET C# web app. I want to view real-time diagnostic output. I'd like to use DbgView or a similar tool. I cannot get ANYTHING to work. IIS Tracing doesn't show output from Trace.Write, DbgView doesn't
show output from System.Diagnostics. I'm reduced to writing text files.
All the articles I can find on tracing with IIS appear obsolete.
Does anyone know how to get real-time diagnostic output from IIS.
Jun 25, 2018 01:49 AM|deepakpanchal10|LINK
Did you try to use IIS Advanced Logging?
IIS Advanced Logging can extend the web platform to support real-time analytics, helping you to provide real-time reports to customers or work with partners to do the same. The Advanced Logging feature contains an option that enables consumption of
log entries in real-time. It aggregates all of the events sent to it during each request and the log definition property
publishLogEvent controls whether real-time events are raised for consumption by other applications.
Enabling Real-time Loggin:
Advanced Logging for IIS - Real-Time Logging
Jun 25, 2018 02:15 AM|JMetcoff|LINK
My server doesn't have a choice for Advanced Logging in IIS manager. From what I can tell from a quick Google search, that feature is not available in IIS 10. Do you have other information on how to enable it?
Jun 26, 2018 09:11 AM|deepakpanchal10|LINK
I see that Advanced logging is not available for IIS 10.
As an alternative, you can try to use Fiddler.
It can help you to check http logs.