IIS Admin Logging

 

- Info:

- This tutorial shows how to define IIS Logging.

- IIS uses Greenwich Meridian Time to create logs.

- If something happened in 10:30 IIS will log it as if occured in 09:30.

 

- Define log file:

- Default Web Site Properties Web site Properties General Properties Log file directory:

C:\WINDOWS\System32\LogFiles

 

- Define logging parameters:

- Default Web Site Properties Web site Properties Extended Properties

 

- Create HTMLs:

- In C:\Inetpub\wwwroot create Hello.html, Cars,html & Plains.html with texts:

Hello from HTML!

Hello from CARS!

Hello from PLAINS!

 

- Call HTMLs:

- Start Internet Explorer

- Address:http://localhost/Hello.htm

- Address:http://localhost/Cars.htm

- Address:http://localhost/Plains.htm

- Sample Log File:

- Previous actions will result in creating folowing log file:

#Software: Microsoft Internet Information Services 5.1

#Version: 1.0

#Date: 2004-12-13 10:06:22

#Fields: time c-ip cs-method cs-uri-stem sc-status

10:06:22 127.0.0.1 GET /Hello.htm 304

11:46:37 127.0.0.1 GET /Cars.htm 200

11:46:54 127.0.0.1 GET /Plains.htm 200