From b703ad11c6320c821fb4ca87728d3d0feb40672f Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Tue, 22 Oct 2019 12:19:37 -0700 Subject: [PATCH] updating command logging back to debug --- daemon/core/emulator/distributed.py | 2 +- daemon/core/nodes/network.py | 2 +- daemon/core/utils.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon/core/emulator/distributed.py b/daemon/core/emulator/distributed.py index 03e043eb..24ffbae6 100644 --- a/daemon/core/emulator/distributed.py +++ b/daemon/core/emulator/distributed.py @@ -54,7 +54,7 @@ class DistributedServer(object): replace_env = env is not None if not wait: cmd += " &" - logging.info( + logging.debug( "remote cmd server(%s) cwd(%s) wait(%s): %s", self.host, cwd, wait, cmd ) try: diff --git a/daemon/core/nodes/network.py b/daemon/core/nodes/network.py index f85235f1..e57a0a95 100644 --- a/daemon/core/nodes/network.py +++ b/daemon/core/nodes/network.py @@ -284,7 +284,7 @@ class CoreNetwork(CoreNetworkBase): :rtype: str :raises CoreCommandError: when a non-zero exit status occurs """ - logging.info("network node(%s) cmd", self.name) + logging.debug("network node(%s) cmd", self.name) output = utils.cmd(args, env, cwd, wait, shell) self.session.distributed.execute(lambda x: x.remote_cmd(args, env, cwd, wait)) return output diff --git a/daemon/core/utils.py b/daemon/core/utils.py index 2e2296c0..407258be 100644 --- a/daemon/core/utils.py +++ b/daemon/core/utils.py @@ -206,7 +206,7 @@ def cmd(args, env=None, cwd=None, wait=True, shell=False): :raises CoreCommandError: when there is a non-zero exit status or the file to execute is not found """ - logging.info("command cwd(%s) wait(%s): %s", cwd, wait, args) + logging.debug("command cwd(%s) wait(%s): %s", cwd, wait, args) if shell is False: args = shlex.split(args) try: