Merge "Remove unnecessary debug logs of normal API ops"

This commit is contained in:
Jenkins 2016-11-01 14:56:42 +00:00 committed by Gerrit Code Review
commit 26dcc8e45b
1 changed files with 0 additions and 2 deletions

View File

@ -1126,7 +1126,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:
@ -1147,7 +1146,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: