diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-07-13 17:53:36 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-07-13 17:53:36 +0000 |
| commit | 86b0cc2b517e75530b331a2e20111221294b6266 (patch) | |
| tree | cc46375512099340edd71b46cc7e78a76ec7dbef | |
| parent | 09cb3e06954035943baaec4306007dda32f1ec2a (diff) | |
| parent | d81d0f0074f73963340d01c07440b0a271629b29 (diff) | |
Merge "Remove unnecessary logging from API"
| -rw-r--r-- | nova/api/openstack/common.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nova/api/openstack/common.py b/nova/api/openstack/common.py index 88c81a578..bb07b2b79 100644 --- a/nova/api/openstack/common.py +++ b/nova/api/openstack/common.py @@ -99,9 +99,6 @@ def status_from_state(vm_state, task_state='default'): LOG.error(_("status is UNKNOWN from vm_state=%(vm_state)s " "task_state=%(task_state)s. Bad upgrade or db " "corrupted?") % locals()) - else: - LOG.debug(_("Generated %(status)s from vm_state=%(vm_state)s " - "task_state=%(task_state)s.") % locals()) return status @@ -313,7 +310,6 @@ def dict_to_query_str(params): def get_networks_for_instance_from_nw_info(nw_info): networks = {} - LOG.debug(_('Converting nw_info: %s') % nw_info) for vif in nw_info: ips = vif.fixed_ips() floaters = vif.floating_ips() @@ -323,7 +319,6 @@ def get_networks_for_instance_from_nw_info(nw_info): networks[label]['ips'].extend(ips) networks[label]['floating_ips'].extend(floaters) - LOG.debug(_('Converted networks: %s') % networks) return networks |
