[This is preliminary documentation and subject to change]

### LogExtFileFlags

This property contains flags that indicate to Windows XP Server which categories of information are written to the log file (or ODBC data source) during logging events. The flags are described in the Flags section below.

Attribute Name | Attribute Value
Data Type | DWORD
Attributes | INHERIT
Default Value | LogExtFileTime | LogExtFileClientIp | LogExtFileMethod | LogExtFileUriStem | LogExtFileHttpStatus
MetaFlagsEx | CACHE_PROPERTY_MODIFIED | WAS_NOTIFICATION
User Type | IIS_MD_UT_SERVER
StartingNumber |
EndingNumber | 0
ID | 4013

### Access Locations

This property is accessible at the following locations:

Metabase Path | IIS Admin Object Type
/LM/MSFTPSVC/Info/Templates/Public FTP Site | IIsFtpServer
/LM/MSFTPSVC | IIsFtpService
/LM/NNTPSVC/1 | IIsNntpServer
/LM/NNTPSVC | IIsNntpService
/LM/W3SVC/1 | IIsWebServer
/LM/W3SVC/2 | IIsWebServer
/LM/W3SVC/Info/Templates/Public Web Site | IIsWebServer
/LM/W3SVC/Info/Templates/Secure Web Site | IIsWebServer
/LM/W3SVC | IIsWebService

### IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier | MD_LOGEXT_FIELD_MASK
Data type | DWORD
User type | IIS_MD_UT_SERVER

### Flags

Name | Value | Metabase Bitmask Identifier | Description
LogExtFileDate | 1 | | MD_EXTLOG_DATE | Log the date.
LogExtFileHost | 1048576 | | MD_EXTLOG_HOST | Log the name of host server.
LogExtFileTime | 2 | | MD_EXTLOG_TIME | Log the time.
LogExtFileClientIp | 4 | | MD_EXTLOG_CLIENT_IP | Log the client IP address.
LogExtFileUserName | 8 | | MD_EXTLOG_USERNAME | Log the user name.
LogExtFileSiteName | 16 | | MD_EXTLOG_SITE_NAME | Log the site name.
LogExtFileComputerName | 32 | | MD_EXTLOG_COMPUTER_NAME | Log the local computer name.
LogExtFileServerIp | 64 | | MD_EXTLOG_SERVER_IP | Log server's own IP address.
LogExtFileMethod | 128 | | MD_EXTLOG_METHOD | Log the protocol method.
LogExtFileUriStem | 256 | | MD_EXTLOG_URI_STEM | Log the Universal Resource Identifier (URI) stem information. The URI stem usually consists of the actual resource being requested.
LogExtFileUriQuery | 512 | | MD_EXTLOG_URI_QUERY | Log the Universal Resource Identifier (URI) query information. The URI query usually consists of parameters passed to the URL by using the URL?Parameters format.
LogExtFileHttpStatus | 1024 | | MD_EXTLOG_HTTP_STATUS | Log the HTTP status.
LogExtFileWin32Status | 2048 | | MD_EXTLOG_WIN32_STATUS | Log the current Microsoft® Win32® error status.
LogExtFileBytesSent | 4096 | | MD_EXTLOG_BYTES_SENT | Log the total bytes sent.
LogExtFileBytesRecv | 8192 | | MD_EXTLOG_BYTES_RECV | Log the total bytes received.
LogExtFileTimeTaken | 16384 | | MD_EXTLOG_TIME_TAKEN | Log the total time taken for a request to be completed.
LogExtFileServerPort | 32768 | | MD_EXTLOG_SERVER_PORT | Log the active server port.
LogExtFileUserAgent | 65536 | | MD_EXTLOG_USER_AGENT | Log the contents of the user agent field, that is sent by the client.
LogExtFileCookie | 131072 | | MD_EXTLOG_COOKIE | Log information from the client cookie .
LogExtFileReferer | 262144 | | MD_EXTLOG_REFERER | Log the referrer field, that is sent by the client,.
LogExtFileProtocolVersion | 524288 | | MD_EXTLOG_PROTOCOL_VERSION | Log the client server protocol version.

© 1997-2001 Microsoft Corporation. All rights reserved.