Logging Utility Properties

The IISLog component has the following properties:

BytesReceived Indicates the bytes received.
BytesSent Indicates the bytes sent.
ClientIP Indicates the client's host name.
Cookie Indicates the client's cookie.
CustomFields Indicates an array of custom headers
DateTime Indicates the date and time in GMT.
Method Indicates the operation type.
ProtocolStatus Indicates the protocol status.
ProtocolVersion Indicates the version string.
Referer Indicates the referrer page.
ServerIP Indicates the server's IP address.
ServerName Indicates the server name.
ServerPort Indicates the port number.
ServiceName Indicates the service name and server instance.
TimeTaken Indicates the total processing time.
URIQuery Indicates any parameters passed with the request.
URIStem Indicates the target URL.
UserAgent Indicates the user agent string.
UserName Indicates the user's name.
Win32Status Indicates the Win32 status code.

Note

These properties only returns values if you have configured your Web server to record those properties in the log files. Click on Start, Programs, Administrative Tools, Internet Information Services. Right-click on Default Web Site, and select Properties. In the Web Site tab, check Enable Logging, choose a log format, and click on Properties. In the Extended Properties tab, you can select what properties are recorded in the log files for each user request.


© 1997-2001 Microsoft Corporation. All rights reserved.