diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d46282c55c..3e904879f06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,9 @@ release. ### Logs +- Stabilize `LogRecordProcessor.Enabled`. + ([#4717](https://github.com/open-telemetry/opentelemetry-specification/pull/4717)) + ### Baggage ### Profiles diff --git a/specification/logs/sdk.md b/specification/logs/sdk.md index 871f630450b..3cdd1157a55 100644 --- a/specification/logs/sdk.md +++ b/specification/logs/sdk.md @@ -252,8 +252,7 @@ emitting the record): - **Status**: [Development](../document-status.md) - `trace_based` is `true` in the [`LoggerConfig`](#loggerconfig) and the current context is associated with an unsampled trace. -- **Status**: [Development](../document-status.md) - all registered - `LogRecordProcessors` implement [`Enabled`](#enabled-1), +- all registered `LogRecordProcessors` implement [`Enabled`](#enabled-1), and a call to `Enabled` on each of them returns `false`. Otherwise, it SHOULD return `true`. @@ -406,8 +405,6 @@ for any concurrent processing, such as in a [batching processor](#batching-proce #### Enabled -**Status**: [Development](../document-status.md) - `Enabled` is an operation that a `LogRecordProcessor` MAY implement in order to support filtering via [`Logger.Enabled`](api.md#enabled).