pkgs/cli: Fix ssh logging
Fix the ssh logging level. Currently the ssh commands is printed every time on an ssh connection. While seeing the command is useful, we should print this when running clan with the `--debug` flag.
This commit is contained in:
@@ -433,7 +433,7 @@ class Remote:
|
||||
"--",
|
||||
" ".join(map(quote, command)),
|
||||
]
|
||||
cmdlog.info(
|
||||
cmdlog.debug(
|
||||
f"{indent_command(ssh_cmd)}",
|
||||
extra={
|
||||
"command_prefix": self.command_prefix,
|
||||
|
||||
Reference in New Issue
Block a user