Enable and Disable Logging in Internet Information Services (IIS)
This step by step guide will help you to enable logging for Web sites or for FTP sites in Internet Information Services (IIS).
Logging is enabled on a Server when a person wants selective log for a website based on certain criteria. Once the logging is enabled, you can enable selective logging for any site on the server. You can also view the log file to see which requests are failing and which requests are succeeding.
How to Enable and Configure Logging in IIS?
Follow below mentioned steps to enable and configure logging in IIS:
START > RUN > Type inetmgr and press Enter
Once the IIS starts, expand ServerName and then expand Web Sites or FTP Sites. Right-click on the Website or the FTP site where you want to enable logging, and then click Properties.
Click on the Web Site tab or FTP Site tab, Select the Enable logging check box.
In the Active log format box, click the format that you want to use.
Click on Properties, and then specify the settings that you want.
For example: You can use W3C Extended log file format.
How to Enable and Configure Logging in IIS7?
1) Open IIS Manager and navigate to Website or FTP Site.
2) In Features View, double-click on Logging option.
3) On the Logging page, in the Actions pane, click on Enable link to enable logging or click on Disable link to disable logging.
You can also do it with Command Line
If you want to enable logging, use the following syntax:
appcmd set config /section:httpLogging /dontLog:False
and If you want to disable logging, use the following syntax:
appcmd set config /section:httpLogging /dontLog:True
I hope this guide will help you to enable or disable Logging in Internet Information Services (IIS).
Get Free Blogging Tips & Technology updates in your Email !!!
Latest posts by Anil Verma (see all)
- BlueHost Affiliate Program – Earn $65 Per Referral - August 2, 2015
- WP Engine Affiliate Program – Earn $200 Per Referral - August 1, 2015
- How to fill out BlueHost Affiliate Tax form for Non-US Residents - June 20, 2015