"Go" IIS7 under Site log default location

Source: Internet
Author: User

This article transferred from: http://www.cnblogs.com/mincyw/p/3425468.html

At IIS6, the location of the site log store can be found through the IIS Manager log configuration. However, under IIS7, the log configuration under IIS Manager can only find the home directory of the IIS log configuration, but in which subdirectory it is not directly known. Later in the main log directory, found that the subdirectory name is more regular: W3SVC + number, Lenovo to the IIS site configuration file, each site will be assigned an ID, the number behind should be the corresponding site ID. According to conjecture, open the directory in the log file view, is confirmed. The site configuration file is typically located in: C:\Windows\System32\inetsrv\config\applicationHost.config The site configuration is located at: \configuration\ System.applicationhost\sites the usual configuration content is as follows, where the ID is the number of the log file name, the following log directory is usually: W3SVC10             <site name= "www.xxx.com" id= "ten" >                 <application path= "/" applicationpool= "Clr4integratedapppool" >                     <virtualdirectory path= "/" physicalpath= "d:\www\ Www.xxx.com "/>                </application>                <bindings>                     <binding protocol= "http" bindinginformation= "*:80:www.xxx.com"/>                 </bindings>             </site>

"Go" iis7 the site log default location

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.