From a3e56bcbdc37cbb181b8bc10f0f55a9f796106bb Mon Sep 17 00:00:00 2001 From: Zacharias Zacharodimos Date: Thu, 12 Oct 2023 13:45:01 +0200 Subject: [PATCH] config: send user data to sentry --- invenio.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/invenio.cfg b/invenio.cfg index 3f06c661..17b73f5b 100644 --- a/invenio.cfg +++ b/invenio.cfg @@ -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 +}