LogExtFileFlags
LogExtFileFlags contains flags that determine which categories of information are written to either the log file or ODBC data source during logging events. The flags are described in the Flags section.
Attribute Name | Attribute Value |
---|---|
XML Data Type | DWORD |
WMI Data Type |
SINT32
|
ADSI Data Type | DWORD |
ABO Data Type | DWORD |
ABO Metabase identifier |
MD_LOGEXT_FIELD_MASK
|
Attributes | INHERIT |
Default Value | logextfiletime | logextfileclientip | logextfilemethod | logextfileuristem | logextfilehttpstatus |
MetaFlagsEx | CACHE_PROPERTY_MODIFIED |
User Type | IIS_MD_UT_SERVER |
StartingNumber | Not applicable |
EndingNumber | 0 |
ID | 4013 |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path | IIS Admin Object Type |
---|---|
/LM/W3SVC/n | IIsWebServer |
/LM/MSFTPSVC/n | IIsFtpServer |
/LM/W3SVC | IIsWebService |
/LM/MSFTPSVC | IIsFtpService |
/LM/NNTPSVC | IIsNntpService |
/LM/NNTPSVC/n | IIsNntpServer |
/LM/SMTPSVC | IIsSmtpService |
/LM/SMTPSVC/n | IIsSmtpServer |
Flags
Flag Name | LogExtFileDate |
---|---|
Description |
Log the date.
|
Metabase Bitmask Identifier | MD_EXTLOG_DATE |
Decimal Value | 1 |
Hex Value | 0x00000001 |
Flag Name | LogExtFileHost |
---|---|
Description |
Log the name of host server.
|
Metabase Bitmask Identifier | MD_EXTLOG_HOST |
Decimal Value | 1048576 |
Hex Value | 0x00100000 |
Flag Name | LogExtFileTime |
---|---|
Description |
Log the time.
|
Metabase Bitmask Identifier | MD_EXTLOG_TIME |
Decimal Value | 2 |
Hex Value | 0x00000002 |
Flag Name | LogExtFileClientIp |
---|---|
Description |
Log the client IP address.
|
Metabase Bitmask Identifier | MD_EXTLOG_CLIENT_IP |
Decimal Value | 4 |
Hex Value | 0x00000004 |
Flag Name | LogExtFileUserName |
---|---|
Description |
Log the user name.
|
Metabase Bitmask Identifier | MD_EXTLOG_USERNAME |
Decimal Value | 8 |
Hex Value | 0x00000008 |
Flag Name | LogExtFileSiteName |
---|---|
Description |
Log the site name.
|
Metabase Bitmask Identifier | MD_EXTLOG_SITE_NAME |
Decimal Value | 16 |
Hex Value | 0x00000010 |
Flag Name | LogExtFileComputerName |
---|---|
Description |
Log the local computer name.
|
Metabase Bitmask Identifier | MD_EXTLOG_COMPUTER_NAME |
Decimal Value | 32 |
Hex Value | 0x00000020 |
Flag Name | LogExtFileServerIp |
---|---|
Description |
Log server's own IP address.
|
Metabase Bitmask Identifier | MD_EXTLOG_SERVER_IP |
Decimal Value | 64 |
Hex Value | 0x00000040 |
Flag Name | LogExtFileMethod |
---|---|
Description |
Log the protocol method.
|
Metabase Bitmask Identifier | MD_EXTLOG_METHOD |
Decimal Value | 128 |
Hex Value | 0x00000080 |
Flag Name | LogExtFileUriStem |
---|---|
Description |
Log the Universal Resource Identifier (URI) stem information. The URI stem usually consists of the actual resource being requested.
|
Metabase Bitmask Identifier | MD_EXTLOG_URI_STEM |
Decimal Value | 256 |
Hex Value | 0x00000100 |
Flag Name | LogExtFileUriQuery |
---|---|
Description |
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.
|
Metabase Bitmask Identifier | MD_EXTLOG_URI_QUERY |
Decimal Value | 512 |
Hex Value | 0x00000200 |
Flag Name | LogExtFileHttpStatus |
---|---|
Description |
Log the HTTP status.
|
Metabase Bitmask Identifier | MD_EXTLOG_HTTP_STATUS |
Decimal Value | 1024 |
Hex Value | 0x00000400 |
Flag Name | LogExtFileWin32Status |
---|---|
Description |
Log the current Microsoft Win32 error status.
|
Metabase Bitmask Identifier | MD_EXTLOG_WIN32_STATUS |
Decimal Value | 2048 |
Hex Value | 0x00000800 |
Flag Name | LogExtFileBytesSent |
---|---|
Description |
Log the total bytes sent.
|
Metabase Bitmask Identifier | MD_EXTLOG_BYTES_SENT |
Decimal Value | 4096 |
Hex Value | 0x00001000 |
Flag Name | LogExtFileBytesRecv |
---|---|
Description |
Log the total bytes received.
|
Metabase Bitmask Identifier | MD_EXTLOG_BYTES_RECV |
Decimal Value | 8192 |
Hex Value | 0x00002000 |
Flag Name | LogExtFileTimeTaken |
---|---|
Description |
Log the total time taken for a request to be completed.
|
Metabase Bitmask Identifier | MD_EXTLOG_TIME_TAKEN |
Decimal Value | 16384 |
Hex Value | 0x00004000 |
Flag Name | LogExtFileServerPort |
---|---|
Description |
Log the active server port.
|
Metabase Bitmask Identifier | MD_EXTLOG_SERVER_PORT |
Decimal Value | 32768 |
Hex Value | 0x00008000 |
Flag Name | LogExtFileUserAgent |
---|---|
Description |
Log the contents of the user agent field, that is sent by the client.
|
Metabase Bitmask Identifier | MD_EXTLOG_USER_AGENT |
Decimal Value | 65536 |
Hex Value | 0x00010000 |
Flag Name | LogExtFileCookie |
---|---|
Description |
Log information from the client cookie .
|
Metabase Bitmask Identifier | MD_EXTLOG_COOKIE |
Decimal Value | 131072 |
Hex Value | 0x00020000 |
Flag Name | LogExtFileReferer |
---|---|
Description |
Log the referrer field, that is sent by the client,.
|
Metabase Bitmask Identifier | MD_EXTLOG_REFERER |
Decimal Value | 262144 |
Hex Value | 0x00040000 |
Flag Name | LogExtFileProtocolVersion |
---|---|
Description |
Log the client server protocol version.
|
Metabase Bitmask Identifier | MD_EXTLOG_PROTOCOL_VERSION |
Decimal Value | 524288 |
Hex Value | 0x00080000 |
Code Example
For general code examples, please see Code Examples to Configure Metabase Properties