Projet

Général

Profil

Development #6922

Mis à jour par Benjamin Dauvergne il y a environ 9 ans

We only configure the root logger and 'django.db'. If DEBUG is True we see the root logger to DEBUG. We do not use Django default logging configuration by bypassing it using @LOGGING_CONFIG = None@[1]. Add a new filter to provide, usename, ip and a request ID to the formatter. Add a new setting DEBUG_DB for activating logging of SQL queries.

fn1. https://www.caktusgroup.com/blog/2015/01/27/Django-Logging-Configuration-logging_config-default-settings-logger/

Retour