From d60ff7374b7e03e696cfdb85c2586c4abcff702b Mon Sep 17 00:00:00 2001 From: Ken'ichi Ohmichi Date: Fri, 12 Aug 2016 10:18:28 -0700 Subject: [PATCH] Remove unnecessary debug logs of normal API ops There are some debug log messages about normal API operations in each API method, but Nova WSGI framework has already output the similar messages. So these messages are meaningless, and this patch removes them. With Ifea3edd912ec80eed2869c3f97345d403ea96c89 , this work was done once but the merger of servers.py retrieved this logs. Change-Id: Ifef708ca4110bc91f8cf18e15bc8e22509606994 --- nova/api/openstack/compute/servers.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/nova/api/openstack/compute/servers.py b/nova/api/openstack/compute/servers.py index 72eff3f4c8..edec9c0c43 100644 --- a/nova/api/openstack/compute/servers.py +++ b/nova/api/openstack/compute/servers.py @@ -1067,7 +1067,6 @@ class ServersController(wsgi.Controller): context = req.environ['nova.context'] instance = self._get_instance(context, id) context.can(server_policies.SERVERS % 'start', instance) - LOG.debug('start instance', instance=instance) try: self.compute_api.start(context, instance) except (exception.InstanceNotReady, exception.InstanceIsLocked) as e: @@ -1088,7 +1087,6 @@ class ServersController(wsgi.Controller): context.can(server_policies.SERVERS % 'stop', target={'user_id': instance.user_id, 'project_id': instance.project_id}) - LOG.debug('stop instance', instance=instance) try: self.compute_api.stop(context, instance) except (exception.InstanceNotReady, exception.InstanceIsLocked) as e: -- 2.39.5