Skip to content

Commit

Permalink
ATV-175 Sentry logging level env variable
Browse files Browse the repository at this point in the history
Add setting for sentry log level
  • Loading branch information
AntiAki-M committed Feb 5, 2024
1 parent 53a56e1 commit 281d412
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions atv/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
SENTRY_DSN=(str, ""),
SENTRY_ENVIRONMENT=(str, "development"),
SENTRY_DEBUG=(bool, False),
SENTRY_LOG_LEVEL=(str, "WARNING"),
CORS_ORIGIN_WHITELIST=(list, []),
CORS_ORIGIN_ALLOW_ALL=(bool, False),
CORS_ALLOW_HEADERS=(list, []),
Expand Down Expand Up @@ -85,6 +86,7 @@
before_send=sentry_before_send,
)
SENTRY_DEBUG = env("SENTRY_DEBUG")
SENTRY_LOG_LEVEL = env("SENTRY_LOG_LEVEL")

BASE_DIR = str(checkout_dir)

Expand Down

0 comments on commit 281d412

Please sign in to comment.