Skip to content

Commit

Permalink
Clarify usage of log body for structured logs (open-telemetry#3023)
Browse files Browse the repository at this point in the history
See decision by Log SIG noted in [open-telemetry#3014](open-telemetry#3014 (comment))
  • Loading branch information
djaglowski authored Jan 3, 2023
1 parent 59232c2 commit 38b6b4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ release.
([#2969](https://github.com/open-telemetry/opentelemetry-specification/pull/2969))
- Make sure it is very clear we are not building a Logging API.
([#2966](https://github.com/open-telemetry/opentelemetry-specification/pull/2966))
- Clarify usage of log body for structured logs
([#3023](https://github.com/open-telemetry/opentelemetry-specification/pull/3023))

### Resource

Expand Down
7 changes: 4 additions & 3 deletions specification/logs/data-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,10 @@ Description: A value containing the body of the log record (see the description
of `any` type above). Can be for example a human-readable string message
(including multi-line) describing the event in a free form or it can be a
structured data composed of arrays and maps of other values. First-party
Applications SHOULD use a string message. However, a structured body may be
necessary to preserve the semantics of some existing log formats. Can vary for
each occurrence of the event coming from the same source. This field is optional.
Applications SHOULD use a string message. However, a structured body SHOULD be
used to preserve the semantics of structured logs emitted by Third-party
Applications. Can vary for each occurrence of the event coming from the same
source. This field is optional.

### Field: `Resource`

Expand Down

0 comments on commit 38b6b4b

Please sign in to comment.