Skip to content

Commit

Permalink
Fix Syslog severity number mapping in the example (open-telemetry#2091)
Browse files Browse the repository at this point in the history
Emergency and Alert were incorrectly ordered (Emergency is was
less severe but it is actually more severe in Syslog).

This fixes the mapping.

Fixes open-telemetry#2042

Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
tigrannajaryan and bogdandrutu authored Nov 4, 2021
1 parent dcf219a commit 40cd432
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ release.

### Logs

- Fix Syslog severity number mapping in the example.
([#2091](https://github.com/open-telemetry/opentelemetry-specification/pull/2091))

### Resource

### Semantic Conventions
Expand Down
4 changes: 2 additions & 2 deletions specification/logs/data-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -1318,8 +1318,8 @@ for an exhaustive list.
|Warning |Warning |WARN |Warn | WARNING |WARN |
|Error |Error |ERROR |Error | SEVERE |ERROR |
|Critical |Critical | |Dpanic| |ERROR2 |
|Emergency | | |Panic | |ERROR3 |
|Alert | |FATAL |Fatal | |FATAL |
|Alert | | |Panic | |ERROR3 |
|Emergency | |FATAL |Fatal | |FATAL |

## References

Expand Down

0 comments on commit 40cd432

Please sign in to comment.