Skip to content

Commit

Permalink
Remove raven dependency (Amsterdam#1345)
Browse files Browse the repository at this point in the history
  • Loading branch information
4c0n committed Aug 16, 2023
1 parent a034e3f commit 1518a05
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 17 deletions.
4 changes: 0 additions & 4 deletions app/logs/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
},
},
'handlers': {
'sentry': {
'level': 'WARNING',
'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler',
},
'colorize': {
'class': 'logs.handlers.ColoredHandler',
'formatter': 'elaborate'
Expand Down
1 change: 0 additions & 1 deletion app/requirements/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ psycopg2-binary
pypdf
python-dateutil
python-magic
raven
requests
textX
types-cryptography
Expand Down
2 changes: 0 additions & 2 deletions app/requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,6 @@ pyyaml==6.0.1
# via
# drf-spectacular
# flex
raven==6.10.0
# via -r requirements/requirements.in
referencing==0.30.2
# via
# jsonschema
Expand Down
2 changes: 0 additions & 2 deletions app/requirements/requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,6 @@ pyyaml==6.0.1
# -r requirements/requirements_test.txt
# drf-spectacular
# flex
raven==6.10.0
# via -r requirements/requirements_test.txt
referencing==0.30.2
# via
# -r requirements/requirements_test.txt
Expand Down
2 changes: 0 additions & 2 deletions app/requirements/requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,6 @@ pyyaml==6.0.1
# -r requirements/requirements.txt
# drf-spectacular
# flex
raven==6.10.0
# via -r requirements/requirements.txt
referencing==0.30.2
# via
# -r requirements/requirements.txt
Expand Down
6 changes: 0 additions & 6 deletions app/signals/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
'django_filters',
'djcelery_email',
'markdownx',
'raven.contrib.django.raven_compat',
'rest_framework',
'rest_framework_gis',
'storages',
Expand Down Expand Up @@ -329,11 +328,6 @@ def is_super_user(user):
if celery_email_task_config_default_retry_delay:
CELERY_EMAIL_TASK_CONFIG['default_retry_delay'] = celery_email_task_config_default_retry_delay

# Sentry logging
RAVEN_CONFIG = {
'dsn': os.getenv('SENTRY_RAVEN_DSN'),
}

# Azure Application insights logging
AZURE_APPLICATION_INSIGHTS_ENABLED = os.getenv('AZURE_APPLICATION_INSIGHTS_ENABLED', False) in TRUE_VALUES
if AZURE_APPLICATION_INSIGHTS_ENABLED:
Expand Down

0 comments on commit 1518a05

Please sign in to comment.