### LogExtFileFlags

This property contains flags that indicate to Windows server which categories of information are written to the log file (or ODBC data source) during logging events. The following individual flags are included in this property:

LogExtFileBytesRecv | LogExtFileHttpStatus | LogExtFileTime
LogExtFileBytesSent | LogExtFileMethod | LogExtFileTimeTaken
LogExtFileClientIp | LogExtFileProtocolVersion | LogExtFileUriQuery
LogExtFileComputerName | LogExtFileReferer | LogExtFileUriStem
LogExtFileCookie | LogExtFileServerIp | LogExtFileUserAgent
LogExtFileDate | LogExtFileServerPort | LogExtFileUserName
LogExtFileHost | LogExtFileSiteName | LogExtFileWin32Status

By default LogExtFileClientIp, LogExtFileHttpStatus, LogExtFileMethod, LogExtFileTime, and LogExtFileUriStem are all set to –1.

Data type | Long
Default value | 1414
Inheritance | Inheritable

###### Access Locations

This property is accessible at the following locations:

Metabase Path | Key Type
/LM/MSFTPSVC | IIsFtpService
/LM/MSFTPSVC/N | IIsFtpServer
/LM/W3SVC | IIsWebService
/LM/W3SVC/N | IIsWebServer

###### IIS Admin Base Object Information

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

Metabase identifier | MD_LOGEXT_FIELD_MASK
User type | IIS_MD_UT_FILE
Default bitmask setting | MD_EXTLOG_CLIENT_IP MD_EXTLOG_TIME MD_EXTLOG_METHOD MD_EXTLOG_URI_STEM MD_EXTLOG_HTTP_STATUS
Default bitmask value | 0x 00000586

###### Bitmask Values

Constant | Value | Description
MD_EXTLOG_DATE | 0x00000001 | Log date.
MD_EXTLOG_TIME | 0x00000002 | Log time.
MD_EXTLOG_CLIENT_IP | 0x00000004 | Log client IP address.
MD_EXTLOG_USERNAME | 0x00000008 | Log user name.
MD_EXTLOG_SITE_NAME | 0x00000010 | Log site name.
MD_EXTLOG_COMPUTER_NAME | 0x00000020 | Log computer name.
MD_EXTLOG_SERVER_IP | 0x00000040 | Log server's own IP address.
MD_EXTLOG_METHOD | 0x00000080 | Log protocol method.
MD_EXTLOG_URI_STEM | 0x00000100 | Log URI stem.
MD_EXTLOG_URI_QUERY | 0x00000200 | Log URI query.
MD_EXTLOG_HTTP_STATUS | 0x00000400 | Log HTTP status.
MD_EXTLOG_WIN32_STATUS | 0x00000800 | Log WIN32 status.
MD_EXTLOG_BYTES_SENT | 0x00001000 | Log total bytes sent.
MD_EXTLOG_BYTES_RECV | 0x00002000 | Log total bytes received.
MD_EXTLOG_TIME_TAKEN | 0x00004000 | Log total time elapsed.
MD_EXTLOG_SERVER_PORT | 0x00008000 | Log server port.
MD_EXTLOG_USER_AGENT | 0x00010000 | Log user agent.
MD_EXTLOG_COOKIE | 0x00020000 | Log cookie.
MD_EXTLOG_REFERER | 0x00040000 | Log referrer.
MD_EXTLOG_PROTOCOL_VERSION | 0x00080000 | Log client server protocol version.
MD_EXTLOG_HOST | 0x00100000 | Log name of host server.

© 1997-2001 Microsoft Corporation. All rights reserved.