Edytuj

Udostępnij za pośrednictwem


ITraceConfiguration Interface

Definition

The TracingConfiguration type contains various tracing-related configuration parameters. For production use, the default value of these parameters should be fine.

public interface ITraceConfiguration
type ITraceConfiguration = interface
Public Interface ITraceConfiguration
Derived

Properties

BulkMessageLimit

The BulkMessageLimit attribute specifies how to bulk (aggregate) trace messages with identical erro code.

DefaultTraceLevel

The DefaultTraceLevel attribute specifies the default tracing level for all Orleans loggers, unless overridden by a specific TraceLevelOverride element. The default level is Info if this attribute does not appear.

LargeMessageWarningThreshold

The LargeMessageWarningThreshold attribute specifies when to generate a warning trace message for large messages.

PropagateActivityId

The PropagateActivityId attribute specifies whether the value of Tracing.CorrelationManager.ActivityId should be propagated into grain calls, to support E2E tracing. The default is not to propagate ActivityId.

TraceFileName

The TraceFileName attribute specifies the name of a file that trace output should be written to.

TraceFilePattern

The TraceFilePattern attribute specifies the pattern name of a file that trace output should be written to.

TraceLevelOverrides

The TraceLevelOverride element provides a mechanism to allow the tracing level to be set differently for different parts of the Orleans system. The tracing level for a logger is set based on a prefix match on the logger's name. TraceLevelOverrides are applied in length order; that is, the override with the longest matching LogPrefix takes precedence and specifies the tracing level for all matching loggers.

TraceToConsole

The TraceToConsole attribute specifies whether trace output should be written to the console. The default is write trace data to the console if available.

Applies to