Basic methods to view server/IIS logs, logs, and access information

The error log of IIS is usually located in a specific folder, which records the errors and exceptions that occurred on the server. These logs can provide detailed information about problems with a website or application. By default, IIS error logs are stored in the following path:

C:\inetpub\logs\LogFiles

In this directory, you can find u_errYYMMDDerror log files named in the format, which YYMMDDrepresents the year, month, and day. These files contain information such as server errors, HTTP errors, application pool crashes, etc.

View the access log file ( u_exYYMMDDnamed with the format).

Windows Event Viewer

  1. Use shortcut keys: Press Win + Ra key combination to open the Run dialog box.

  2. Enter it eventvwr.mscand press Enter. This will open the event viewer window.

Alternatively, you can open Event Viewer by:

  1. Using the start menu:

    • Click on the Windows Start menu (usually the Windows icon in the lower left corner).
    • In the Start menu, type Event Viewer.
    • Select Event Viewer from the search results.
  2. Using the control panel:

    • Open the control panel. You can find it by searching for "Control Panel" in the start menu.
    • In Control Panel, select System and Security.
    • Under Administrative Tools, select Event Viewer.

Regardless of the method you use, when you open Event Viewer, you will see a window with different event log categories such as Application, Security, System, etc. You can select any log category and view related events in the right pane.

Note that events in Event Viewer can provide a variety of information about the operating system and applications, including errors, warnings, information, and more. If you're having problems with IIS or other applications, looking at events in Event Viewer may provide clues as to the cause and solution of the problem.

Guess you like

Origin blog.csdn.net/qq_33790894/article/details/132623665