Skip to content

Commit

Permalink
Set Sentry logging to ERROR level
Browse files Browse the repository at this point in the history
  • Loading branch information
neoformit committed Oct 8, 2024
1 parent 76af25c commit 81af9e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/app/settings/prod.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# flake8: noqa

"""Settings for production.
See base.py for mail config read from .env file.
"""

# flake8: noqa

import os
import logging
import sentry_sdk

from .base import *
Expand Down Expand Up @@ -43,3 +44,4 @@
# of transactions for tracing.
traces_sample_rate=1.0,
)
logging.getLogger('sentry_sdk').setLevel(logging.ERROR)

0 comments on commit 81af9e1

Please sign in to comment.