Skip to content

Commit

Permalink
config: send user data to sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Oct 12, 2023
1 parent 6e3b5b1 commit 2ce239e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions invenio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -577,3 +577,10 @@ REST_ENABLE_CORS = True

REST_CSRF_ENABLED = True
"""Enable CSRF."""


# Invenio logging
LOGGING_SENTRY_INIT_KWARGS = {
# instuct sentry to send user data attached to the event
"send_default_pii": True
}

0 comments on commit 2ce239e

Please sign in to comment.