Partager via


Event Log Registry Settings (Compact 7)

3/12/2014

All event log registry keys are under [HKEY_LOCAL_MACHINE\System\EventLog\Channel] and [HKEY_LOCAL_MACHINE\System\EventLog\Providers].

The following table describes the values for the Channel\ChannelName key.

Value Type Description

ChannelType

REG_DWORD

Specifies the channel type. The following table shows possible settings.

Setting Name
0x00Admin
0x01Operational
0x02Analytic
0x03Debug

DefaultEnable

REG_DWORD

Specifies whether the event log is enabled by default. Zero indicates that the channel is disabled. Otherwise, it is enabled.

The following table describes the values for the Channel\ChannelName\Logging key.

Value Type Description

AllKeywordhigh

REG_DWORD

The high DWORD section of a filtering mechanism for the log (the first 8 hexadecimal digits).

MatchesAllKeyword is a 64-bit mask where all the keywords must match; for example, if MatchesAllKeyword is set to 0x2000000000000000, only events with a keyword of 0x2000000000000000 are written to the log.

Keywords must be defined in the manifest.

AllKeywordlow

REG_DWORD

The low DWORD section of the MatchesAll filtering mechanism for the log (the last 8 hexadecunak digits of the keyword).

If these are not defined, the MatchesAllKeyword mask for the log is set to 0x000000000000000, which is the most inclusive mask for MatchesAllKeyword.

AnyKeywordhigh

REG_DWORD

The high DWORD section of the second filtering mechanism for the log.

MatchesAnyKeyword is a 64-bit mask where all the keywords must match; for example, if MatchesAnyKeyword is set to 0x1110000000000000, events with keywords of 0x1000000000000000, 0x0100000000000000, and 0x0010000000000000 are written to the log.

AnyKeywordlow

REG_DWORD

The low DWORD section of the second filtering mechanism for the log.

Latency

REG_DWORD

The maximum amount of time, in milliseconds, between receiving an event and writing the event to the log. The minimum and default value is 0x2.

Level

REG_DWORD

Specifies the level of severity of events that are logged.

maxSize

REG_DWORD

Specifies the maximum size of the log file.

minSize

REG_DWORD

Specifies the minimum size of the log file.

The following table describes the values for the Channel\ChannelName\Publishing key.

Value Type Description

minBuffers

REG_DWORD

Not used.

maxBuffers

REG_DWORD

Maximum size of the in-buffer channel. This is currently used as the default value.

Latency

REG_DWORD

The maximum amount of time, in milliseconds, between receiving an event and writing the event to the log. The minimum and default value is 0x2.

ClockType

REG_DWORD

Specifies whether to use the system clock or another clock.

The following table describes the values for the Providers\ProviderName\Channels key.

Value Type Description

ChannelName

MULTI_SZ

REG_SZ is also accepted.

Specifies the channel name for a provider.

See Also

Reference

Event Log Reference

Other Resources

Event Log