From 7fcfa7371756760670fdea7b1ebaf8bd4cd4376e Mon Sep 17 00:00:00 2001 From: sima lotfi Date: Thu, 26 Oct 2023 16:57:43 -0700 Subject: [PATCH] added debug lines --- src/service.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/service.rs b/src/service.rs index 60424883..c463a4a7 100644 --- a/src/service.rs +++ b/src/service.rs @@ -15,7 +15,7 @@ */ use crate::runner::Settings; -use log::{error, LevelFilter}; +use log::{debug, error, LevelFilter}; use mpsc::{channel, Sender}; use signal_hook::consts::{SIGINT, SIGTERM, TERM_SIGNALS}; use signal_hook::iterator::Signals; @@ -137,6 +137,8 @@ impl Service { command.stdout(Stdio::piped()); command.stderr(Stdio::piped()); + debug!("running: {}", args.join(" ")); + let mut child = match command.spawn() { Ok(x) => x, Err(e) => {