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).
I use SEMRush for Keyword Research & Boost Organic Traffic. Do You?
Highly recommended SEM & SEO Tool for overview of Traffic, Keywords, Backlinks and more. You can search your competitors URL to analyze keywords & crush your competition.
Get Free Blogging Tips & Technology updates in your Email !!!
Latest posts by Anil Kumar (see all)
- Top 3 Custom Sidebar WordPress Plugins for Post & Pages - October 17, 2015
- Bluehost Coupon Codes Up To 75% OFF – August 2015 - August 25, 2015
- Make Money Online: $50-$100 Daily with Affiliate Marketing - August 10, 2015