2. View the location of the log file |
The default will be in C:\inetpub\logs\LogFiles (Win7), which will have a series of file names, similar to W3SVC file name.
IIS log files are stored inside
Opened after the discovery is a series of things not sorted well. Finally through the degree Niang found a thing about the Log Parser is very useful,
: http://www.microsoft.com/en-us/download/confirmation.aspx?id=24659, follow the prompts to complete the installation,
Open logparser2.2
will appear above the interface, and then inside the command, Logparser-i:iisw3c-o:datagrid "Select Date,time, S-ip,
Cs-method, Cs-uri-stem, Cs-uri-query, S-port, Cs-username, C-ip,sc-status, Sc-substatus,
Sc-win32-status from C:\inetpub\logs\LogFiles\W3SVC3\u_ex151117.log ",
Specific command instructions can be viewed in http://blog.sina.com.cn/s/blog_65de4f4f01017d5c.html with detailed explanations
IIS viewing log files