Share via


LogType

LogType 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.

Attribute Name Attribute Value
XML Data Type DWORD
WMI Data Type
SINT32
ADSI Data Type DWORD
ABO Data Type DWORD
ABO Metabase identifier
MD_LOG_TYPE
Attributes INHERIT
Default Value 1
MetaFlagsEx CACHE_PROPERTY_MODIFIED
User Type IIS_MD_UT_SERVER
StartingNumber Not applicable
EndingNumber 1
ID 4000

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

Code Example

For general code examples, please see Code Examples to Configure Metabase Properties

DontLog