voice wake: log full ssh command for debug
This commit is contained in:
@@ -141,6 +141,9 @@ enum VoiceWakeForwarder {
|
||||
let rendered = self.renderedCommand(template: config.commandTemplate, transcript: transcript)
|
||||
args.append(contentsOf: ["sh", "-c", self.commandWithCliPath(rendered, target: destination)])
|
||||
|
||||
let debugCmd = (["/usr/bin/ssh"] + args).joined(separator: " ")
|
||||
self.logger.debug("voice wake ssh cmd=\(debugCmd, privacy: .public)")
|
||||
|
||||
self.logger.info("voice wake forward starting host=\(userHost, privacy: .public)")
|
||||
|
||||
let process = Process()
|
||||
|
||||
Reference in New Issue
Block a user