Merge "Avoid logging.getChild for python2.6 compatibility"

This commit is contained in:
Jenkins 2012-12-20 10:59:49 +00:00 committed by Gerrit Code Review
commit f9cf2d7519
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ def setup_logging():
root_logger.setLevel(logging.WARNING)
# quiet down the qpid logging
root_logger.getChild('qpid.messaging').setLevel(logging.INFO)
root_logger.manager.getLogger('qpid.messaging').setLevel(logging.INFO)
formatter = logging.Formatter(cfg.CONF.log_format,
cfg.CONF.log_date_format)