LogExtFileFlags Enumeration
Contains flags that determine which categories of information are written to the log file or data source during logging events.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
| Member name | Description | |
|---|---|---|
| BytesRecv | The total bytes received. | |
| BytesSent | The total bytes sent. | |
| ClientIP | The client IP address. | |
| ComputerName | The local computer name. | |
| Cookie | Information from the client cookie. | |
| Date | The date. | |
| Host | The name of host server. | |
| HttpStatus | The HTTP status. | |
| HttpSubStatus | The substatus code of the HTTP error. For example, for the 500.18 HTTP error, the status code is 500 and the substatus code is 18. | |
| Method | The protocol method. | |
| ProtocolVersion | The client server protocol version. | |
| Referer | The referrer field sent by the client. | |
| ServerIP | The server's own IP address. | |
| ServerPort | The active server port. | |
| SiteName | The site name. | |
| Time | The time. | |
| TimeTaken | The total time taken for a request to be completed. | |
| UriQuery | The Uniform Resource Identifier (URI) query information. The URI query usually consists of parameters that are passed to the URL by using the URL?Parameters format. | |
| UriStem | The Universal Resource Identifier (URI) stem information. The URI stem usually consists of the actual resource that is being requested. | |
| UserAgent | The contents of the user agent field that is sent by the client. | |
| UserName | The user name. | |
| Win32Status | The Site.LogFile or SiteDefaults.LogFile property has a Microsoft Win32 error status. |
To use this enumeration to specify the type of information that is logged, set one or more of the flags on the Site.LogFile or SiteDefaults.LogFile properties.