Mercurial > public > sg101
changeset 861:e4f8d87c3d30
Configure Markdown logger to reduce noise in logs.
Markdown is logging at the INFO level whenever it loads an extension.
This looks like it has been fixed in master at GitHub. But until then
we will explicitly configure the MARKDOWN logger to log at WARNING
or higher.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 01 Dec 2014 18:36:27 -0600 (2014-12-02) |
parents | a4d685cdecdd |
children | 22a2362a8c9a 928b97ec55a7 |
files | sg101/settings/local.py sg101/settings/production.py |
diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/sg101/settings/local.py Sat Nov 22 13:33:21 2014 -0600 +++ b/sg101/settings/local.py Mon Dec 01 18:36:27 2014 -0600 @@ -94,6 +94,11 @@ 'propagate': False, 'handlers': ['auth'], }, + 'MARKDOWN': { + 'level': 'WARNING', + 'propagate': False, + 'handlers': ['file'], + }, }, 'root': { 'level': 'DEBUG',
--- a/sg101/settings/production.py Sat Nov 22 13:33:21 2014 -0600 +++ b/sg101/settings/production.py Mon Dec 01 18:36:27 2014 -0600 @@ -115,6 +115,11 @@ 'propagate': False, 'handlers': ['auth'], }, + 'MARKDOWN': { + 'level': 'WARNING', + 'propagate': False, + 'handlers': ['file'], + }, }, 'root': { 'level': 'INFO',