[Django]-Django.server logging configuration not working in Django Daphne

2๐Ÿ‘

I found an answer myself. In case someone has same problem:

After diving into Daphne source code it looks like as of now it does not use standard logging library, but relies on own class that writes all access log messages to stdout or given file. I do not see a possibility of increasing the log level.

Consult https://github.com/django/daphne/blob/main/daphne/access.py for more details.

๐Ÿ‘คtostee

0๐Ÿ‘

set verbosity to 0 and you are done

daphne -v 0 xxx.asgi:application
๐Ÿ‘คagni bahar

Leave a comment