From 0a0adb68ade2e7d4517b4e7c5b1d51097610633a Mon Sep 17 00:00:00 2001 From: Joe Tsai Date: Thu, 7 Sep 2023 18:47:04 -0700 Subject: [PATCH] ssh/tailssh: log when recording starts and finishes (#9294) Updates tailscale/corp#14579 Signed-off-by: Joe Tsai --- ssh/tailssh/tailssh.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ssh/tailssh/tailssh.go b/ssh/tailssh/tailssh.go index 544616643..a4a024f8e 100644 --- a/ssh/tailssh/tailssh.go +++ b/ssh/tailssh/tailssh.go @@ -1088,6 +1088,7 @@ func (ss *sshSession) run() { ss.Exit(1) return } + ss.logf("startNewRecording: ") if rec != nil { defer rec.Close() } @@ -1658,6 +1659,7 @@ func (ss *sshSession) startNewRecording() (_ *recording, err error) { err := <-errChan if err == nil { // Success. + ss.logf("recording: finished uploading recording") return } if onFailure != nil && onFailure.NotifyURL != "" && len(attempts) > 0 {