diff --git a/appmgr/src/action/docker.rs b/appmgr/src/action/docker.rs index 3c49acd95..6c42a7285 100644 --- a/appmgr/src/action/docker.rs +++ b/appmgr/src/action/docker.rs @@ -68,6 +68,9 @@ impl DockerAction { }; cmd.stdout(std::process::Stdio::piped()); cmd.stderr(std::process::Stdio::piped()); + if log::log_enabled!(log::Level::Trace) { + log::trace!("{}", format!("{:?}", cmd).split(r#"" ""#).collect::>().join(" ")); + } let mut handle = cmd.spawn().with_kind(crate::ErrorKind::Docker)?; if let (Some(input), Some(stdin)) = (&input_buf, &mut handle.stdin) { use tokio::io::AsyncWriteExt;