Skip to content

Commit 60264fc

Browse files
committed
Remove log suppressing for testing graphql ws issues see HEA-752
1 parent d89a793 commit 60264fc

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

hea/settings/base.py

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -253,12 +253,6 @@
253253
},
254254
"filters": {
255255
"require_debug_false": {"()": "django.utils.log.RequireDebugFalse"},
256-
"suppress_ws_pings": {
257-
"()": "common.logging_filters.SuppressWebSocketPings",
258-
},
259-
"suppress_revproxy_noise": {
260-
"()": "common.logging_filters.SuppressRevProxyNoise",
261-
},
262256
},
263257
"handlers": {
264258
"logfile": {
@@ -275,7 +269,6 @@
275269
"stream": sys.stdout,
276270
"class": "logging.StreamHandler",
277271
"formatter": env.str("LOG_FORMATTER", "standard"),
278-
"filters": ["suppress_ws_pings", "suppress_revproxy_noise"],
279272
},
280273
"mail_admins": {
281274
"level": "ERROR",
@@ -293,40 +286,6 @@
293286
"urllib3": {"handlers": ["console", "logfile"], "level": "INFO", "propagate": False},
294287
"common.models": {"handlers": ["console", "logfile"], "level": "INFO", "propagate": False},
295288
"common.signals": {"handlers": ["console", "logfile"], "level": "INFO", "propagate": False},
296-
"uvicorn": {
297-
"handlers": ["console"],
298-
"level": "INFO",
299-
"propagate": False,
300-
},
301-
"uvicorn.error": {
302-
"handlers": ["console"],
303-
"level": "DEBUG",
304-
"propagate": False,
305-
"filters": ["suppress_ws_pings"],
306-
},
307-
"uvicorn.access": {
308-
"handlers": ["console"],
309-
"level": "INFO",
310-
"propagate": False,
311-
},
312-
"revproxy": {
313-
"handlers": ["console"],
314-
"level": "INFO",
315-
"propagate": False,
316-
"filters": ["suppress_revproxy_noise"],
317-
},
318-
"revproxy.view": {
319-
"handlers": ["console"],
320-
"level": "INFO",
321-
"propagate": False,
322-
"filters": ["suppress_revproxy_noise"],
323-
},
324-
"revproxy.response": {
325-
"handlers": ["console"],
326-
"level": "INFO",
327-
"propagate": False,
328-
"filters": ["suppress_revproxy_noise"],
329-
},
330289
},
331290
# Keep root at DEBUG and use the `level` on the handler to control logging output,
332291
# so that additional handlers can be used to get additional detail, e.g. `common.resources.LoggingResourceMixin`

0 commit comments

Comments
 (0)