windows日志文件在哪里-windows日志文件在哪里

windows日志文件在哪里-windows日志文件在哪里

windows日志文件在哪里

Windows 日志文件的位置因日志类型和系统版本而异,以下是一些常见的位置:

windows日志文件在哪里-windows日志文件在哪里

系统事件日志


  • Windows Vista 及更高版本C:\Windows\System32\winevt\Logs
  • Windows XP/Windows Server 2003C:\Windows\System32\config

应用程序日志


  • 系统应用程序日志C:\Windows\System32\winevt\Logs\Application.evtx (Windows Vista 及更高版本) ;C:\Windows\System32\config\AppEvent.EVT (Windows XP/Windows Server 2003) 。
  • 特定应用程序日志:一些应用程序会将日志文件存储在其安装目录下的特定子文件夹中,如C:\Program Files (x86)\YourApplication\Logs ,也可能在 C:\Users\<Username>\AppData\Local\<ApplicationName>\LogsC:\Users\<Username>\AppData\Roaming\<ApplicationName>\Logs

安全日志


  • Windows Vista 及更高版本C:\Windows\System32\winevt\Logs\Security.evtx
  • Windows XP/Windows Server 2003C:\Windows\System32\config\SecEvent.EVT

IIS 日志


默认情况下,IIS 日志文件存储在C:\inetpub\logs\LogFiles目录下。

Windows Update 日志


C:\Windows\Logs 文件夹中包含了 Windows 更新的日志文件。

其他日志


  • Windows Search 日志:Windows Vista 及更高版本位于C:\ProgramData\Microsoft\Search\Data\Applications\Windows ,Windows XP 位于C:\Documents and Settings\<username>\Local Settings\Application Data\Microsoft\Search\Applications\Windows
  • 设备管理器日志C:\Windows\System32\winevt\Logs\HardwareEvents.evtx
  • Internet Explorer 日志C:\Windows\System32\winevt\Logs\Internet Explorer.evtx
  • Windows PowerShell 日志C:\Windows\System32\winevt\Logs\Windows PowerShell.evtx

看过该文章的人还看了