Home  >  Article  >  How to check error logs in Windows 11?

How to check error logs in Windows 11?

PHPz
PHPzforward
2023-04-23 23:46:092720browse

How to check error logs in Windows 11?

  1. Press Windows S to launch the search menu, enter Event Viewer in the text field at the top and click Related Search result. 如何检查 Windows 11 错误日志
  2. Double-click Windows Logs in the left navigation pane. 如何检查 Windows 11 错误日志
  3. You will now find five different categories. Select any of them and all error logs under it will be listed on the right. 如何检查 Windows 11 错误日志
  4. Now, click on any error log to view all relevant information about them. 如何检查 Windows 11 错误日志

You now know how to check Windows 11 error logs, but just knowing that isn’t enough. There's a lot more to know before you can truly understand these logs and use them to your advantage.

How to understand Windows 11 error logs?

When viewing logs, the general details and event IDs are critical to identifying and eliminating errors. In addition to this, there is a link to the event log online help at the bottom which may provide some valuable insights.

For example, this is a Windows 11 error log when the device's relevant driver fails to load.

如何检查 Windows 11 错误日志
Login Event Viewer

Have you been able to determine which driver is failing or the device it is targeting? Probably not, and neither were we initially. But the 219 event ID helped find a lot of information and relevant fixes for the problem.

如何检查 Windows 11 错误日志
Google Search Results for Event ID 219

We just searched for this event ID on Google and there were a lot of results. Never quite learned to figure out the exact cause and fix, it only took us a few minutes. But this requires a proper understanding of Windows 11 error logs.

However, it is important to mention here that not all error logs are descriptive. Some people may have something you don't understand or use excessive jargon. Regardless, a simple Google search will suffice.

What are the different types of error logs?

When you browse Windows 11 error logs, there are basically three important categories called event levels, which are placed under these categories. Also, the category defines the severity of the event for which the log is created. The three categories are as follows:

  • Information: These are created when the operation completes successfully. For example, I didn't encounter any problems when loading drivers or launching applications.
  • Warning: These are created when the operating system detects a system problem. These issues do not pose an imminent risk, but may cause problems in the future. For example, if you run out of disk space, a log will be created.
  • Errors: These indicate major problems, but in most cases, Windows will handle them as well. For example, if a driver or service does not load, an error log is created. However, these are the most critical.

If you are identifying a problem with your PC, ignore the information logs and look at the warning logs, but pay special attention to the logs classified as errors, as these are most likely to record the problem you are looking for.

When you open Event Viewer in Windows 11, it will list all three levels, but identifying all the logs for one of the levels will take up a lot of your time. This is where filtering error logs can help you. Check out the next section to learn how to do this.

How to filter error logs?

  1. Open the event viewer, navigate to a specific category of logs from the left, and click on the right to filter the current log. 如何检查 Windows 11 错误日志
  2. Next, click the Logged drop-down menu to select the duration for which you want to check logs. 如何检查 Windows 11 错误日志
  3. Now, select a duration from the list of options. You can also choose the last option to create a custom scope. 如何检查 Windows 11 错误日志
  4. After completion, check the checkbox of the event level you want to filter. 如何检查 Windows 11 错误日志
  5. Finally, click OK at the bottom to filter the error log. 如何检查 Windows 11 错误日志
  6. All error logs under the selected filter will now be listed. 如何检查 Windows 11 错误日志

We select the duration as 24 hours, the level as Error, and filter the logs. Event Viewer then lists four Windows 11 error logs that were created during this time.

How to create a custom view to inspect specific categories and levels of logs in Windows 11?

  1. Open Event Viewer and click on the right to create a custom view. 如何检查 Windows 11 错误日志
  2. Next, select the duration and event level, just like you did before when creating the filter. 如何检查 Windows 11 错误日志
  3. After selecting the By Log option, click the Event Log drop-down menu, double-click the Windows Log entry to expand and view the various categories, and then check all Check box for required category. 如何检查 Windows 11 错误日志
  4. Now, click "OK" at the bottom to set the filters for your new custom view. 如何检查 Windows 11 错误日志
  5. Enter the name and description of the custom view, and click OK. 如何检查 Windows 11 错误日志
  6. The new custom view will now be listed on the left, with all logs below it on the right. 如何检查 Windows 11 错误日志

How to clear error logs in Windows 11?

  1. Launch Event Viewer, navigate to the relevant category and click Clear Logs from the list of options on the right. 如何检查 Windows 11 错误日志
  2. You now have two options, Save and clear the error logs or clear them directly. Select the desired option. 如何检查 Windows 11 错误日志
  3. If you selected Save and clear, select the location of the file, add a name to it, and click Save. 如何检查 Windows 11 错误日志
  4. Once saved, their error logs will be cleared immediately and no error logs will be listed under that specific category. 如何检查 Windows 11 错误日志
  5. If you saved error logs before deleting them, you can find them under Saved Logs in the left navigation pane. 如何检查 Windows 11 错误日志

# The operating system creates thousands of logs for every type of event, whether it is successful startup of drivers and services or the most fatal errors. Like any other file, these files take up space on your hard drive, no matter how small it is.

So if you're low on space, or just want a more organized event viewer, clearing the Windows 11 error log might help.

The above is the detailed content of How to check error logs in Windows 11?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete