Where can I find the IIS log?

Better Stack Team
Updated on November 16, 2022

You can find your IIS log file in the following directory:

%SystemDrive%\inetpub\logs\LogFiles
Copied!

If the directory doesn’t exist in your system, try looking in the following directory

%SystemDrive%\Windows\System32\LogFiles\HTTPERR
Copied!

This directory contains similar log files that only represent errors.

If nothing above works for you, check IIS Manager. Select the computer on the left pane, and in the middle pane, go under Logging in the IIS area. There you will see the default location for all sites.

Got an article suggestion? Let us know
Explore more
Licensed under CC-BY-NC-SA

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

We are hiring.

Software is our way of making the world a tiny bit better. We build tools for the makers of tomorrow.

Explore all positions →

Reliability is the
ultimate feature

Delightful observability tools that turn your logs & monitoring into a secret weapon for shipping better software faster.

Explore Better Stack