ssh/tailssh: log when recording starts and finishes (#9294)

Updates tailscale/corp#14579

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
pull/9309/head
Joe Tsai 8 months ago committed by GitHub
parent a1d4144b18
commit 0a0adb68ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1088,6 +1088,7 @@ func (ss *sshSession) run() {
ss.Exit(1)
return
}
ss.logf("startNewRecording: <nil>")
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 {

Loading…
Cancel
Save