Thanks for this, Irfan. but could some of the images are quite poor quality and barely legible, especially the second with the web.config. (Even if we zoom in on the page, it becomes very fuzzy and unreadable. I suspect you grabbed that one image from some other doc, where it was already low-res. Maybe some of the others as well.) And I suspect you will therefore be unable to do anything to make them better.
But it seems this is code you got from a page in the docs on web.config (which is not the page linked to at the bottom here), specifically the section https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/web-config?view=aspnetcore-5.0#configuration-of-aspnet-core-module-with-webconfig, which has this code as its first example. Would you agree this is it?
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="dotnet"
arguments=".\MyApp.dll"
stdoutLogEnabled="false"
stdoutLogFile=".\logs\stdout"
hostingModel="inprocess" />
</system.webServer>
</location>
</configuration>
As for the image of info about loglevels, that is indeed clearly a screenshot of some text from within the page Irfan refers to at the bottom, but for those interested the table (as text) is at the section, https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-5.0#log-level.
Just trying to help others who may struggle with the images, but thanks indeed for pulling the information together.