External configuration rules

​ConfigurableLog is essentially a CompositeLog with named components and rules for filtering and enrichment. Rules can be supplied from any external source and support reconfiguration without application restart.

Log configuration rules

Every rule contains some of the following:

Property

Type

Default value

Description

Enabled

bool

true

Enables/disables the logging in scope of the rule entirely.

Log

string

null

Limits the scope of the rule to the log with given name. If not specified, the rule applies to all logs.

Source

string

null

Limits the scope of the rule to events with source context having given prefix.