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 5307b6d commit 5e77129
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions webapp/webapp/settings/prod.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# flake8: noqa

"""Settings for production."""

import os
import logging
import sentry_sdk

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

0 comments on commit 5e77129

Please sign in to comment.