Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ release.

### Logs

- Stabilize `LogRecordProcessor.Enabled`.
([#4717](https://github.com/open-telemetry/opentelemetry-specification/pull/4717))

### Baggage

### Profiles
Expand Down
5 changes: 1 addition & 4 deletions specification/logs/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down Expand Up @@ -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).

Expand Down
Loading