LogExtFileFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains flags that determine which categories of information are written to the log file or data source during logging events.
This enumeration supports a bitwise combination of its member values.
public enum class LogExtFileFlags
[System.Flags]
public enum LogExtFileFlags
type LogExtFileFlags =
Public Enum LogExtFileFlags
- Inheritance
-
LogExtFileFlags
- Attributes
Fields
BytesRecv | 8192 | The total bytes received. |
BytesSent | 4096 | The total bytes sent. |
ClientIP | 4 | The client IP address. |
ComputerName | 32 | The local computer name. |
Cookie | 131072 | Information from the client cookie. |
Date | 1 | The date. |
Host | 1048576 | The name of host server. |
HttpStatus | 1024 | The HTTP status. |
HttpSubStatus | 2097152 | 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 | 128 | The protocol method. |
ProtocolVersion | 524288 | The client server protocol version. |
Referer | 262144 | The referrer field sent by the client. |
ServerIP | 64 | The server's own IP address. |
ServerPort | 32768 | The active server port. |
SiteName | 16 | The site name. |
Time | 2 | The time. |
TimeTaken | 16384 | The total time taken for a request to be completed. |
UriQuery | 512 | 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 | 256 | The Universal Resource Identifier (URI) stem information. The URI stem usually consists of the actual resource that is being requested. |
UserAgent | 65536 | The contents of the user agent field that is sent by the client. |
UserName | 8 | The user name. |
Win32Status | 2048 | The LogFile or LogFile property has a Microsoft Win32 error status. |
Remarks
To use this enumeration to specify the type of information that is logged, set one or more of the flags on the Microsoft.Web.Administration.Site.LogFile or Microsoft.Web.Administration.SiteDefaults.LogFile properties.