From e342996306bec556abc40c52a18aa95ad990d040 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Tue, 15 Jul 2025 14:20:40 +0200 Subject: [PATCH] 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. --- pkgs/clan-cli/clan_lib/ssh/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/clan-cli/clan_lib/ssh/remote.py b/pkgs/clan-cli/clan_lib/ssh/remote.py index 9cf0c0cfa..e580866d7 100644 --- a/pkgs/clan-cli/clan_lib/ssh/remote.py +++ b/pkgs/clan-cli/clan_lib/ssh/remote.py @@ -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,