Mercurial > public > sg101
comparison sg101/settings/production.py @ 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 |
parents | 3ba1f30d1d6a |
children | c786908b95ca |
comparison
equal
deleted
inserted
replaced
858:a4d685cdecdd | 861:e4f8d87c3d30 |
---|---|
113 'auth': { | 113 'auth': { |
114 'level': 'INFO', | 114 'level': 'INFO', |
115 'propagate': False, | 115 'propagate': False, |
116 'handlers': ['auth'], | 116 'handlers': ['auth'], |
117 }, | 117 }, |
118 'MARKDOWN': { | |
119 'level': 'WARNING', | |
120 'propagate': False, | |
121 'handlers': ['file'], | |
122 }, | |
118 }, | 123 }, |
119 'root': { | 124 'root': { |
120 'level': 'INFO', | 125 'level': 'INFO', |
121 'handlers': ['file'], | 126 'handlers': ['file'], |
122 }, | 127 }, |