Skip to content

Commit 50d6c36

Browse files
committed
This fixes issue open-telemetry#4478 by introducing a SeverityNumber 0 in the
specification with the meaning "UNDEFINED"
1 parent cdac031 commit 50d6c36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

specification/logs/data-model.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ defines the meaning of `SeverityNumber` value:
291291

292292
SeverityNumber range|Range name|Meaning
293293
--------------------|----------|-------
294+
0 |UNDEFINED |An event with unset severity.
294295
1-4 |TRACE |A fine-grained debugging event. Typically disabled in default configurations.
295296
5-8 |DEBUG |A debugging event.
296297
9-12 |INFO |An informational event. Indicates that an event happened.
@@ -301,7 +302,7 @@ SeverityNumber range|Range name|Meaning
301302
Smaller numerical values in each range represent less important (less severe)
302303
events. Larger numerical values in each range represent more important (more
303304
severe) events. For example `SeverityNumber=17` describes an error that is less
304-
critical than an error with `SeverityNumber=20`.
305+
critical than an error with `SeverityNumber=20`. The exception to this is the zero value (SeverityNumber=0), which, since it means UNDEFINED, cannot be ordered after any importance level.
305306

306307
#### Mapping of `SeverityNumber`
307308

0 commit comments

Comments
 (0)