[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 NameAttribute Value
Data TypeDWORD
AttributesINHERIT
Default ValueLogExtFileTime | LogExtFileClientIp | LogExtFileMethod | LogExtFileUriStem | LogExtFileHttpStatus
MetaFlagsExCACHE_PROPERTY_MODIFIED | WAS_NOTIFICATION
User TypeIIS_MD_UT_SERVER
StartingNumber
EndingNumber0
ID4013

Access Locations

This property is accessible at the following locations:

Metabase PathIIS Admin Object Type
/LM/MSFTPSVC/Info/Templates/Public FTP SiteIIsFtpServer
/LM/MSFTPSVCIIsFtpService
/LM/NNTPSVC/1IIsNntpServer
/LM/NNTPSVCIIsNntpService
/LM/W3SVC/1IIsWebServer
/LM/W3SVC/2IIsWebServer
/LM/W3SVC/Info/Templates/Public Web SiteIIsWebServer
/LM/W3SVC/Info/Templates/Secure Web SiteIIsWebServer
/LM/W3SVCIIsWebService

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 typeDWORD
User typeIIS_MD_UT_SERVER

Flags

NameValueMetabase Bitmask IdentifierDescription
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.