Commit 2c8ab7db by Ned Batchelder

Quiet some devstack log messages

parent f785ae46
...@@ -20,11 +20,16 @@ HTTPS = 'off' ...@@ -20,11 +20,16 @@ HTTPS = 'off'
################################ LOGGERS ###################################### ################################ LOGGERS ######################################
# Silence noisy logs
import logging import logging
LOG_OVERRIDES = [
# Disable noisy loggers ('track.contexts', logging.CRITICAL),
for pkg_name in ['track.contexts', 'track.middleware', 'dd.dogapi']: ('track.middleware', logging.CRITICAL),
logging.getLogger(pkg_name).setLevel(logging.CRITICAL) ('dd.dogapi', logging.CRITICAL),
('django_comment_client.utils', logging.CRITICAL),
]
for log_name, log_level in LOG_OVERRIDES:
logging.getLogger(log_name).setLevel(log_level)
################################ EMAIL ######################################## ################################ EMAIL ########################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment