centralize logging into root logger 45/25045/11
authorRoss Brattain <ross.b.brattain@intel.com>
Tue, 29 Nov 2016 00:35:35 +0000 (16:35 -0800)
committerRoss Brattain <ross.b.brattain@intel.com>
Wed, 30 Nov 2016 06:56:01 +0000 (22:56 -0800)
commitf672caf7c6ec32d26a215ad0cba179a7144a9a08
tree05a15779762851419b89086eff975fdeb8ceeaf6
parented89d5d7372b598a3b849f7753e8d29a39282d53
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>
api/server.py
yardstick/__init__.py
yardstick/cmd/cli.py
yardstick/dispatcher/file.py
yardstick/ssh.py