Surpress Daphne request logging levels

240 views
Skip to first unread message

Skullb0ne

unread,
Aug 20, 2021, 12:05:17 PM8/20/21
to Django users
I am trying to surpress the log output from daphne.

example log:

Aug 20 08:33:53 admin daphne[663290]: 127.0.0.1:35638 - - [20/Aug/2021:08:33:50] "PATCH /api/v1/worker/59/" 200 168

logger  'django.request'  seem to have no effect on it.

Jason

unread,
Aug 23, 2021, 8:25:05 AM8/23/21
to Django users
daphene runs at the same infra layer level as uwsgi/gunicorn so you need to define the log level at process init.  Django has no control over this.
Reply all
Reply to author
Forward
0 new messages