From c0ce07404fe6cd0aa6c370a4255bddd2bde4edc3 Mon Sep 17 00:00:00 2001 From: Blake Harnden Date: Fri, 13 Sep 2019 13:26:30 -0700 Subject: [PATCH] moved service validation to debug, to limit error messages causing confusion about failures --- daemon/core/plugins/sdt.py | 1 - daemon/core/services/coreservices.py | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/daemon/core/plugins/sdt.py b/daemon/core/plugins/sdt.py index eed8e091..3eaba44a 100644 --- a/daemon/core/plugins/sdt.py +++ b/daemon/core/plugins/sdt.py @@ -224,7 +224,6 @@ class Sdt(object): :return: nothing """ - logging.info("SDT shutdown!") self.cmd("clear all") self.disconnect() self.showerror = True diff --git a/daemon/core/services/coreservices.py b/daemon/core/services/coreservices.py index bfb92f0b..f3ad9e80 100644 --- a/daemon/core/services/coreservices.py +++ b/daemon/core/services/coreservices.py @@ -587,7 +587,7 @@ class CoreServices(object): :return: service validation status :rtype: int """ - logging.info("validating node(%s) service(%s)", node.name, service.name) + logging.debug("validating node(%s) service(%s)", node.name, service.name) cmds = service.validate if not service.custom: cmds = service.get_validate(node) @@ -598,10 +598,10 @@ class CoreServices(object): try: node.check_cmd(cmd) except CoreCommandError as e: - logging.error( + logging.debug( "node(%s) service(%s) validate failed", node.name, service.name ) - logging.error("cmd(%s): %s", e.cmd, e.output) + logging.debug("cmd(%s): %s", e.cmd, e.output) status = -1 break