Delen via


LogExtFileFlags Enum

Definition

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

Name Value Description
Date 1

The date.

Time 2

The time.

ClientIP 4

The client IP address.

UserName 8

The user name.

SiteName 16

The site name.

ComputerName 32

The local computer name.

ServerIP 64

The server's own IP address.

Method 128

The protocol method.

UriStem 256

The Universal Resource Identifier (URI) stem information. The URI stem usually consists of the actual resource that is being requested.

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.

HttpStatus 1024

The HTTP status.

Win32Status 2048

The LogFile or LogFile property has a Microsoft Win32 error status.

BytesSent 4096

The total bytes sent.

BytesRecv 8192

The total bytes received.

TimeTaken 16384

The total time taken for a request to be completed.

ServerPort 32768

The active server port.

UserAgent 65536

The contents of the user agent field that is sent by the client.

131072

Information from the client cookie.

Referer 262144

The referrer field sent by the client.

ProtocolVersion 524288

The client server protocol version.

Host 1048576

The name of host server.

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.

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.

Applies to