LogExtFileFlags
The LogExtFileFlags property 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.
Schema Attributes
Attribute Name |
Value |
---|---|
DWORD |
|
DWORD_METADATA |
|
LogExtFileTime | LogExtFileClientIp | LogExtFileMethod | LogExtFileUriStem | LogExtFileHttpStatus |
|
LogExtFileDate | LogExtFileTime | LogExtFileClientIp | LogExtFileUserName | LogExtFileServerIp | LogExtFileMethod | LogExtFileUriStem | LogExtFileUriQuery | LogExtFileHttpStatus | LogExtFileWin32Status | LogExtFileServerPort | LogExtFileUserAgent | LogExtFileHttpSubStatus |
|
0 |
|
Not specified |
|
4013 |
|
MD_LOGEXT_FIELD_MASK |
|
INHERIT |
|
IIS_MD_UT_SERVER |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path |
IIS Admin Object Type |
---|---|
/LM/W3SVC |
IIsWebService |
/LM/MSFTPSVC |
IIsFtpService |
/LM/W3SVC/n |
IIsWebServer |
/LM/MSFTPSVC/n |
IIsFtpServer |
/LM/NNTPSVC |
IIsNntpService |
/LM/NNTPSVC/n |
IIsNntpServer |
/LM/SMTPSVC |
IIsSmtpService |
/LM/SMTPSVC/n |
IIsSmtpServer |
Flags
Flag Name |
LogExtFileBytesRecv |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the total bytes received. |
8192 (hex 0x00002000) |
|
MD_EXTLOG_BYTES_RECV |
|
6247 |
Flag Name |
LogExtFileBytesSent |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the total bytes sent. |
4096 (hex 0x00001000) |
|
MD_EXTLOG_BYTES_SENT |
|
6246 |
Flag Name |
LogExtFileClientIp |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the client IP address. |
4 (hex 0x00000004) |
|
MD_EXTLOG_CLIENT_IP |
|
6236 |
Flag Name |
LogExtFileComputerName |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the local computer name. |
32 (hex 0x00000020) |
|
MD_EXTLOG_COMPUTER_NAME |
|
6239 |
Flag Name |
LogExtFileCookie |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log information from the client cookie. |
131072 (hex 0x00020000) |
|
MD_EXTLOG_COOKIE |
|
6251 |
Flag Name |
LogExtFileDate |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the date. |
1 (hex 0x00000001) |
|
MD_EXTLOG_DATE |
|
6234 |
Flag Name |
LogExtFileHost |
---|---|
Versions Applicable |
[IIS 5.1][IIS 6.0] |
Description |
Log the name of host server. |
1048576 (hex 0x00100000) |
|
MD_EXTLOG_HOST |
|
6287 |
Flag Name |
LogExtFileHttpStatus |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the HTTP status. |
1024 (hex 0x00000400) |
|
MD_EXTLOG_HTTP_STATUS |
|
6244 |
Flag Name |
LogExtFileHttpSubStatus |
---|---|
Versions Applicable |
[IIS 6.0] |
Description |
Log the sub-status code of the HTTP error. For example, for the 500.18 HTTP error, the status code is 500 and the sub-status code is 18. |
2097152 (hex 0x00200000) |
|
No friendly named is defined for this identifier in iiscfng.h. Use the ID attribute listed below. |
|
6309 |
Flag Name |
LogExtFileMethod |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the protocol method. |
128 (hex 0x00000080) |
|
MD_EXTLOG_METHOD |
|
6241 |
Flag Name |
LogExtFileProtocolVersion |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the client server protocol version. |
524288 (hex 0x00080000) |
|
MD_EXTLOG_PROTOCOL_VERSION |
|
6268 |
Flag Name |
LogExtFileReferer |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the referrer field sent by the client. |
262144 (hex 0x00040000) |
|
MD_EXTLOG_REFERER |
|
6252 |
Flag Name |
LogExtFileServerIp |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the server's own IP address. |
64 (hex 0x00000040) |
|
MD_EXTLOG_SERVER_IP |
|
6240 |
Flag Name |
LogExtFileServerPort |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the active server port. |
32768 (hex 0x00008000) |
|
MD_EXTLOG_SERVER_PORT |
|
6249 |
Flag Name |
LogExtFileSiteName |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the site name. |
16 (hex 0x00000010) |
|
MD_EXTLOG_SITE_NAME |
|
6238 |
Flag Name |
LogExtFileTime |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the time. |
2 (hex 0x00000002) |
|
MD_EXTLOG_TIME |
|
6235 |
Flag Name |
LogExtFileTimeTaken |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the total time taken for a request to be completed. |
16384 (hex 0x00004000) |
|
MD_EXTLOG_TIME_TAKEN |
|
6248 |
Flag Name |
LogExtFileUriQuery |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
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. |
512 (hex 0x00000200) |
|
MD_EXTLOG_URI_QUERY |
|
6243 |
Flag Name |
LogExtFileUriStem |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the Universal Resource Identifier (URI) stem information. The URI stem usually consists of the actual resource being requested. |
256 (hex 0x00000100) |
|
MD_EXTLOG_URI_STEM |
|
6242 |
Flag Name |
LogExtFileUserAgent |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the contents of the user agent field sent by the client. |
65536 (hex 0x00010000) |
|
MD_EXTLOG_USER_AGENT |
|
6250 |
Flag Name |
LogExtFileUserName |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the user name. |
8 (hex 0x00000008) |
|
MD_EXTLOG_USERNAME |
|
6237 |
Flag Name |
LogExtFileWin32Status |
---|---|
Versions Applicable |
[IIS 5.0][IIS 5.1][IIS 6.0] |
Description |
Log the current Microsoft ? Win32 ? error status. |
2048 (hex 0x00000800) |
|
MD_EXTLOG_WIN32_STATUS |
|
6245 |
Requirements
Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Product: IIS