aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/dispatcher
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2016-11-28 16:35:35 -0800
committerRoss Brattain <ross.b.brattain@intel.com>2016-11-29 22:56:01 -0800
commitf672caf7c6ec32d26a215ad0cba179a7144a9a08 (patch)
tree05a15779762851419b89086eff975fdeb8ceeaf6 /yardstick/dispatcher
parented89d5d7372b598a3b849f7753e8d29a39282d53 (diff)
centralize logging into root logger
If we setup root logger correctly and have each module logger propogate we shouldn't need individual logger configuration updates: lower paramiko to WARN level dispatcher/file.py was missing logging.handlers import purge all existing handlers and add our own handlers move everything back into yardstick/__init__.py so API can use it make _LOG_STREAM_HDLR global, so we can set loglevel on it whenever added api/server.py call to _init_logging removed old LOG_FORMATTER from cli.py only setLevel on yardstick logger Change-Id: If000799590379d3407655a7d54378481a96ea3d4 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'yardstick/dispatcher')
-rw-r--r--yardstick/dispatcher/file.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yardstick/dispatcher/file.py b/yardstick/dispatcher/file.py
index ab67796e9..c2cc265ba 100644
--- a/yardstick/dispatcher/file.py
+++ b/yardstick/dispatcher/file.py
@@ -17,6 +17,7 @@
# ceilometer/ceilometer/dispatcher/file.py
import logging
+import logging.handlers
import json
from oslo_config import cfg