Share via


LogCustomPropertyMask Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The LogCustomPropertyMask property specifies the bitmask that can be used against the metabase property, specified by LogCustomPropertyID Metabase Property, to determine whether the particular logging field is currently enabled or disabled.

When a logging module logs custom information fields, the logging module accesses the property specified by LogCustomPropertyID, and checks the individual flag bits, specified by LogCustomPropertyMask, to determine if that particular field is currently enabled or disabled.

For more information about custom logging fields, see "Setting Metabase Properties for Logging" in the Platform SDK.

Attribute Name Attribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_LOGCUSTOM_PROPERTY_MASK

Attributes

INHERIT

Default Value

0

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

4504

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path IIS Admin Object Type

/LM/logging/Custom Logging

/LM/logging/Custom Logging/Date

/LM/logging/Custom Logging/Time

/LM/logging/Custom Logging/Extended Properties

/LM/logging/Custom Logging/Extended Properties/extended_property_name

IIsCustomLogModule

Code Example

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