Skip to content

Commit fa7c0b2

Browse files
author
Liudmila Molkova
committed
clarifications
1 parent 6c2ec8b commit fa7c0b2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

oteps/4333-recording-exceptions-on-logs.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,12 @@ or higher severity.
195195
The OTel Logs API SHOULD provide methods that enrich log records with exception details such as
196196
`setException(exception)` and similar to the [RecordException](../specification/trace/api.md#record-exception) method on span.
197197

198-
The OTel SDK, based on the log severity and configuration, SHOULD record exception details either fully or partially.
198+
The OTel SDK, based on the log severity and configuration, SHOULD record exception details fully,
199+
partially or not at all.
199200

200201
The signature of the method is to be determined by each language
201202
and can be overloaded as appropriate, including the ability to customize stack trace
202-
collection.
203+
collection when the language does not provide a built-in mechanism for it.
203204

204205
It MUST be possible to efficiently set `exception.*` attributes on a log record
205206
based on configuration and without using the `setException` method.

0 commit comments

Comments
 (0)