### LogType

This property indicates whether logging is enabled. A value of 0 indicates that logging is disabled, and a value of 1 indicates that logging is enabled. This property is read-write.

Data type | Long
Default value | 1 (logging enabled)
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_LOG_TYPE
User type | IIS_MD_UT_SERVER

###### Bitmask values

Constant | Value | Description
MD_LOG_TYPE_DISABLED | 0x00000000 | Logging disabled.
MD_LOG_TYPE_ENABLED | 0x00000001 | Logging enabled.

###### See Also

DontLog

© 1997-2001 Microsoft Corporation. All rights reserved.