1. 在注册表 HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters 中新建 dword 值:EnableErrorLogging,设置值为 0。

2. 在命令行中分别运行以下命令运行:

  net stop http

  net start http

  iisreset

3. 可改变日志文件的存储位置,同样在 Parameters 中新建字符串值:ErrorLoggingDir,设置值为新的存储路径,同样需要重启 HTTP 服务以生效。

转自网络…

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
  • 2022-12-23
  • 2022-12-23
  • 2022-01-05
  • 2021-09-01
猜你喜欢
  • 2021-06-18
  • 2021-09-25
  • 2021-09-06
  • 2021-08-01
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案