From 17885d9e98c6d4bb5e3b925f9fb6fc75383cb757 Mon Sep 17 00:00:00 2001 From: Lingxian Kong Date: Thu, 26 Sep 2019 18:37:16 +1200 Subject: Remove the annoying debug logs Even though those are debug level logs, it doesn't make sense for the operators. If it's timeout or error occurs, the operator could see the VM status and service status from the CLI. Change-Id: I3fc9ff9e9343c1c884eece4955f15766230ff9a0 --- trove/taskmanager/models.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/trove/taskmanager/models.py b/trove/taskmanager/models.py index 104a7cfb..0d944737 100755 --- a/trove/taskmanager/models.py +++ b/trove/taskmanager/models.py @@ -774,8 +774,6 @@ class FreshInstanceTasks(FreshInstance, NotifyMixin, ConfigurationMixin): """ service = InstanceServiceStatus.find_by(instance_id=self.id) status = service.get_status() - LOG.debug("Service status of instance %(instance)s is %(status)s", - {"instance": self.id, "status": status}) if (status == rd_instance.ServiceStatuses.RUNNING or status == rd_instance.ServiceStatuses.INSTANCE_READY): return True @@ -788,7 +786,6 @@ class FreshInstanceTasks(FreshInstance, NotifyMixin, ConfigurationMixin): c_id = self.db_info.compute_instance_id server = self.nova_client.servers.get(c_id) server_status = server.status - LOG.debug("Server status of instance %s is %s", self.id, server_status) if server_status in [InstanceStatus.ERROR, InstanceStatus.FAILED]: server_fault_message = 'No fault found' -- cgit v1.2.1