updating command logging back to debug

This commit is contained in:
Blake Harnden 2019-10-22 12:19:37 -07:00
parent f39b7e9f96
commit b703ad11c6
3 changed files with 3 additions and 3 deletions

View file

@ -54,7 +54,7 @@ class DistributedServer(object):
replace_env = env is not None replace_env = env is not None
if not wait: if not wait:
cmd += " &" cmd += " &"
logging.info( logging.debug(
"remote cmd server(%s) cwd(%s) wait(%s): %s", self.host, cwd, wait, cmd "remote cmd server(%s) cwd(%s) wait(%s): %s", self.host, cwd, wait, cmd
) )
try: try:

View file

@ -284,7 +284,7 @@ class CoreNetwork(CoreNetworkBase):
:rtype: str :rtype: str
:raises CoreCommandError: when a non-zero exit status occurs :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) output = utils.cmd(args, env, cwd, wait, shell)
self.session.distributed.execute(lambda x: x.remote_cmd(args, env, cwd, wait)) self.session.distributed.execute(lambda x: x.remote_cmd(args, env, cwd, wait))
return output return output

View file

@ -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 :raises CoreCommandError: when there is a non-zero exit status or the file to
execute is not found 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: if shell is False:
args = shlex.split(args) args = shlex.split(args)
try: try: