Skip to content

Commit 769c92d

Browse files
committed
add note about sendDefaultPii with user attributes
1 parent f5132a7 commit 769c92d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

develop-docs/sdk/telemetry/logs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ If a log is generated by an SDK integration, the SDK should also set the `sentry
311311

312312
#### User Attributes
313313

314-
If the log is associated with a user, the SDK should attach the following if available:
314+
If `sendDefaultPii`/`send_default_pii` is set to `true` in the SDK, the SDK should attach the following user data if available:
315315

316316
1. `user.id`: The user ID. Maps to `id` in the [User](/sdk/data-model/event-payloads/user/) payload.
317317
2. `user.name`: The username. Maps to `username` in the [User](/sdk/data-model/event-payloads/user/) payload.

0 commit comments

Comments
 (0)