Skip to content
Closed
Show file tree
Hide file tree
Changes from 5 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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ release.

- Add optional `Event Name` parameter to `Logger.Enabled` and `LogRecordProcessor.Enabled`.
([#4489](https://github.com/open-telemetry/opentelemetry-specification/pull/4489))
- Remove the suggestion that backends or UI may represent log records with unset severity as INFO severity.
([#4509](https://github.com/open-telemetry/opentelemetry-specification/pull/4509))

### Baggage

Expand Down
9 changes: 3 additions & 6 deletions specification/logs/data-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,9 @@ events. Larger numerical values in each range represent more important (more
severe) events. For example `SeverityNumber=17` describes an error that is less
critical than an error with `SeverityNumber=20`.

The exception to this is the zero value (`SeverityNumber=0`), which,
since it us undefined, SHOULD NOT be compared to any other severity number.
Comment thread
pellared marked this conversation as resolved.
Outdated

#### Mapping of `SeverityNumber`

Mappings from existing logging systems and formats (or **source format** for
Expand All @@ -328,12 +331,6 @@ For example if the source format has an "Informational" log level and no other
log levels with similar meaning then it is recommended to use
`SeverityNumber=9` for "Informational".

Source formats that do not define a concept of severity or log level MAY omit
`SeverityNumber` and `SeverityText` fields. Backend and UI may represent log
Comment thread
pellared marked this conversation as resolved.
records with missing severity information distinctly or may interpret log
records with missing `SeverityNumber` and `SeverityText` fields as if the
`SeverityNumber` was set equal to INFO (numeric value of 9).

#### Reverse Mapping

When performing a reverse mapping from `SeverityNumber` to a specific format
Expand Down
Loading