iisloggingiis-7diagnostics

IIS: Where can I find the IIS logs?


I'm trying to set up an application from a third party, which requires a supporting website hosted in my local IIS. I've created a website exactly as explained in their install guide, but am having some problems, and would like to see what the IIS log has to say. Embarrassingly enough, the problem is I can't find the log files!

So my question is: Where does IIS7 store logs by default?


Solution

  • I think the default place for access logs is

    %SystemDrive%\inetpub\logs\LogFiles
    

    Otherwise, check under IIS Manager, select the computer on the left pane, and in the middle pane, go under "Logging" in the IIS area. There you will se the default location for all sites (this is however overridable on all sites)

    You could also look into

    %SystemDrive%\Windows\System32\LogFiles\HTTPERR
    

    Which will contain similar log files that only represents errors.