crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

Different location where logs are captured in asp.net
Question Posted on 14 May 2020Home >> DotNet >> ASP.NET >> Different location where logs are captured in asp.net

Different location where logs are captured in asp.net
If you are a ASP.NET developer then you are familiar with the logs in asp.net. But there different 4 places where you will get some more information on logs in asp.net as given below:-
(1)Standard IIS Logs:- This is the most common place. If your flow of request response model goes from IIS this is the common place where you will get "Logging" features and get all logs details as given in below screen.


IIS Logs
(2)HTTPERR if Not Found in IIS error Log:-Most of the Request are shown in IIS log but there are certain condition when logs are not recorded for example:- IIS logging is disabled. In that case it may be going to HTTPERR.Incoming requests to your server first route through HTTP.SYS before being handed to IIS. These type of errors get logged in HTTPERR.
Where are the HTTPERR error logs?
C:\Windows\System32\LogFiles\HTTPERR

(3)Windows Event Viewer:-Windows Application EventLog will log 500 unhandled asp.net exception. This is handled by the ASP.NET Health Monitoring feature. We can control this setting in our web.config files. There is very limited error written to the application EventLog. We can disable writing any errors to application EventLog. Health monitoring feature have some compatibility issues with WebForms, MVC, Core, WCF or other frameworks so it will not write all error to EventLog.

Application EVent
(4)Failed Request Tracing:-One of the less uses IIS error logs is FRT. It is very powerful. It provides robust IIS logging and should works as a great IIS error log. We can enable FRT in IIS Manager and can be configured via rules for all requests, slow requests and certain response status codes.

FRT Error
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




Other Important Questions

Use of Calendar control in dotnet with code

How to improve Front End UI performance of dotnet web application?

File upload in dotnet

reverse a string

function of garbage collector






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap