Skip to content

Commit

Permalink
added debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
sima-fastly authored and sima committed Oct 27, 2023
1 parent 34a7aaa commit 7fcfa73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) => {
Expand Down

0 comments on commit 7fcfa73

Please sign in to comment.