Skip to content

Commit 1d80b58

Browse files
committed
Remove logging definition in example app about async concerns.
1 parent ce9a94b commit 1d80b58

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

example/settings.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -118,26 +118,3 @@
118118
]
119119
# Customize the config to support turbo and htmx boosting.
120120
DEBUG_TOOLBAR_CONFIG = {"ROOT_TAG_EXTRA_ATTRS": "data-turbo-permanent hx-preserve"}
121-
122-
LOGGING = {
123-
"version": 1,
124-
"disable_existing_loggers": False,
125-
"handlers": {
126-
"console": {
127-
"class": "logging.StreamHandler",
128-
},
129-
},
130-
"root": {
131-
"handlers": ["console"],
132-
"level": "WARNING",
133-
},
134-
"loggers": {
135-
# Log when an asynchronous handler is adapted for middleware.
136-
# See warning here: https://docs.djangoproject.com/en/4.2/topics/async/#async-views
137-
"django.request": {
138-
"handlers": ["console"],
139-
"level": os.getenv("DJANGO_REQUEST_LOG_LEVEL", "INFO"),
140-
"propagate": False,
141-
},
142-
},
143-
}

0 commit comments

Comments
 (0)