mirror of
https://github.com/esphome/esphome.git
synced 2024-12-27 07:51:43 +01:00
Move running process log line to debug level (#2565)
This commit is contained in:
parent
7cfede5b83
commit
64a45dc6a6
1 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@ def run_external_command(
|
|||
orig_argv = sys.argv
|
||||
orig_exit = sys.exit # mock sys.exit
|
||||
full_cmd = " ".join(shlex_quote(x) for x in cmd)
|
||||
_LOGGER.info("Running: %s", full_cmd)
|
||||
_LOGGER.debug("Running: %s", full_cmd)
|
||||
|
||||
orig_stdout = sys.stdout
|
||||
sys.stdout = RedirectText(sys.stdout, filter_lines=filter_lines)
|
||||
|
@ -214,7 +214,7 @@ def run_external_command(
|
|||
|
||||
def run_external_process(*cmd, **kwargs):
|
||||
full_cmd = " ".join(shlex_quote(x) for x in cmd)
|
||||
_LOGGER.info("Running: %s", full_cmd)
|
||||
_LOGGER.debug("Running: %s", full_cmd)
|
||||
filter_lines = kwargs.get("filter_lines")
|
||||
|
||||
capture_stdout = kwargs.get("capture_stdout", False)
|
||||
|
|
Loading…
Reference in a new issue