IIS日志文件占用太大:C:\Windows\System32\LogFiles\HTTPERR
运行--输入:regedit,打开注册表
1. 在注册表 HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters 中
新建 dword 值:EnableErrorLogging,设置值为 0。
2. 在命令行中分别运行以下命令运行:
net stop http
net start http
iisreset
运行--输入:regedit,打开注册表
1. 在注册表 HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters 中
新建 dword 值:EnableErrorLogging,设置值为 0。
2. 在命令行中分别运行以下命令运行:
net stop http
net start http
iisreset