mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 03:24:01 +03:00
Update {{cookiecutter.project_slug}}/config/settings/production.py
Co-Authored-By: Bruno Alla <browniebroke@users.noreply.github.com>
This commit is contained in:
parent
7cc94c139c
commit
a636d454f6
|
@ -288,7 +288,7 @@ SENTRY_LOG_LEVEL = env.int("DJANGO_SENTRY_LOG_LEVEL", logging.INFO)
|
||||||
|
|
||||||
sentry_logging = LoggingIntegration(
|
sentry_logging = LoggingIntegration(
|
||||||
level=SENTRY_LOG_LEVEL, # Capture info and above as breadcrumbs
|
level=SENTRY_LOG_LEVEL, # Capture info and above as breadcrumbs
|
||||||
event_level=logging.ERROR # Send errors as events
|
event_level=logging.ERROR, # Send errors as events
|
||||||
)
|
)
|
||||||
|
|
||||||
{%- if cookiecutter.use_celery == 'y' %}
|
{%- if cookiecutter.use_celery == 'y' %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user