diff options
| author | Tim Graham <timograham@gmail.com> | 2015-09-15 14:13:34 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-23 11:33:49 -0400 |
| commit | 6b37719616b77872f9498ca74022563c178031e6 (patch) | |
| tree | 4211ef8621658d70933ae8e266f62449ccad80c1 /django/utils/log.py | |
| parent | 7cb3a488436e8e7d0249280e95ba2ee945c96c87 (diff) | |
Refs #24526 -- Made the django logger handle INFO messages.
Without an explicit 'level', only messages at WARNING or higher
are handled. This makes the config consistent with the docs
which say, "The django catch-all logger sends all messages at
the INFO level or higher to the console."
Diffstat (limited to 'django/utils/log.py')
| -rw-r--r-- | django/utils/log.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/utils/log.py b/django/utils/log.py index 95824af7a5..0c2b872ee5 100644 --- a/django/utils/log.py +++ b/django/utils/log.py @@ -42,6 +42,7 @@ DEFAULT_LOGGING = { 'loggers': { 'django': { 'handlers': ['console', 'mail_admins'], + 'level': 'INFO', }, 'py.warnings': { 'handlers': ['console'], |
