Groups
Groups
Sign in
Groups
Groups
Django users
Conversations
About
Send feedback
Help
Surpress Daphne request logging levels
240 views
Skip to first unread message
Skullb0ne
unread,
Aug 20, 2021, 12:05:17 PM
8/20/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
8/23/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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