Enabling IIS log files on Windows 7
Posted by jpluimers on 2019/10/01
Since each Windows version, Microsoft hides the way to first enable, then configure IIS Logging in a different place: [WayBack] Enabling IIS log files on Windows 7.
That should provide me some guidance on how to find it back when it is not displayed at all.
Related:
- [WayBack] Enable or Disable Logging (IIS 7) | Microsoft Docs
To enable logging, use the following syntax:
appcmd set config /section:httpLogging /dontLog:False
To disable logging, use the following syntax:
appcmd set config /section:httpLogging /dontLog:True
Note
When you use Appcmd.exe to configure the <httpLogging> element at the global level in IIS 7, you must specify /commit:WEBROOT in the command so that configuration changes are made to the root Web.config file instead of ApplicationHost.config.
- [WayBack] Logging Feature Requirements (IIS 7) | Microsoft Docs
- Source: WayBack: How to Locate IIS Log Files in CAS Server | Troubleshoot IIS Log FilesTechslate
–jeroen
Leave a Reply