Skip to content

Commit

Permalink
Merge "Sync w/ latest openstack common log.py."
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Aug 4, 2012
2 parents 4c79d9b + 997fc59 commit ff9578d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions nova/openstack/common/log.py
Expand Up @@ -357,17 +357,6 @@ def _setup_logging_from_conf(product_name):
for handler in log_root.handlers:
logger.addHandler(handler)

# NOTE(jkoelker) Clear the handlers for the root logger that was setup
# by basicConfig in nova/__init__.py and install the
# NullHandler.
root = logging.getLogger()
for handler in root.handlers:
root.removeHandler(handler)
handler = NullHandler()
handler.setFormatter(logging.Formatter())
root.addHandler(handler)


_loggers = {}


Expand Down

0 comments on commit ff9578d

Please sign in to comment.