Step -1: Open the Run dialog box > type inetmgr > click OK.
Step -2: In the Connections pane, Select the server (local host).
Step -3: In the Features view, select logging under the IIS section.
Step -4: Select View sites in the Actions pane. It shows the list of all websites hosted in the IIS server. The site ID and the path of all websites will be displayed.
Step -5: Go to the mentioned file path and you can see the log files from there.