Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data passed as the extra parameter to a logging statement doesn't appear in Sentry #14

Closed
niran opened this issue Sep 23, 2010 · 1 comment

Comments

@niran
Copy link
Contributor

niran commented Sep 23, 2010

The README says that anything passed as extra that isn't reserved or private will show up in the dashboard. To get data to actually show up, you have to pass the desired dictionary inside another dictionary as the value for 'data' (e.g. extra={'data': {'username': request.user.username}}). See SentryClient.create_from_record to see why.

It's reasonable behavior, so I think the README just needs to be edited to reflect it.

@dcramer
Copy link
Member

dcramer commented Sep 23, 2010

Update docs to reflect actual usage of extra data in logging (closed by 1b47180)

@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants