Skip to content

Commit

Permalink
Remove logging definition in example app about async concerns.
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-schilling committed Jul 16, 2024
1 parent ce9a94b commit 1d80b58
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions example/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,26 +118,3 @@
]
# Customize the config to support turbo and htmx boosting.
DEBUG_TOOLBAR_CONFIG = {"ROOT_TAG_EXTRA_ATTRS": "data-turbo-permanent hx-preserve"}

LOGGING = {
"version": 1,
"disable_existing_loggers": False,
"handlers": {
"console": {
"class": "logging.StreamHandler",
},
},
"root": {
"handlers": ["console"],
"level": "WARNING",
},
"loggers": {
# Log when an asynchronous handler is adapted for middleware.
# See warning here: https://docs.djangoproject.com/en/4.2/topics/async/#async-views
"django.request": {
"handlers": ["console"],
"level": os.getenv("DJANGO_REQUEST_LOG_LEVEL", "INFO"),
"propagate": False,
},
},
}

0 comments on commit 1d80b58

Please sign in to comment.