We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11325c3 commit bc8f743Copy full SHA for bc8f743
src/native_mux_impl/command.rs
@@ -73,6 +73,9 @@ impl Command {
73
74
let cmd = NonZeroByteSlice::new(&self.cmd).ok_or(Error::InvalidCommand)?;
75
76
+ #[cfg(feature = "tracing")]
77
+ tracing::debug!(cmd = String::from_utf8_lossy(cmd.into_inner()).as_ref());
78
+
79
let session = Session::builder()
80
.cmd(Cow::Borrowed(cmd))
81
.subsystem(self.subsystem)
src/process_impl/command.rs
@@ -50,6 +50,9 @@ impl Command {
50
),
51
Error,
52
> {
53
54
+ tracing::debug!(cmd = ?self.builder.as_std());
55
56
let mut channel = self.builder.spawn().map_err(Error::Ssh)?;
57
58
let child_stdin = channel.stdin.take();
0 commit comments