From f4a8a9fc6ab025b0976bea071f818c6fcdd41c7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Mon, 23 Aug 2021 02:30:56 +1200 Subject: [PATCH] Print PID in initialisation --- lib/src/watchexec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/watchexec.rs b/lib/src/watchexec.rs index 9dc23d6..b3d667c 100644 --- a/lib/src/watchexec.rs +++ b/lib/src/watchexec.rs @@ -46,7 +46,7 @@ impl Watchexec { mut init: InitConfig, mut runtime: RuntimeConfig, ) -> Result, CriticalError> { - trace!(?init, ?runtime, "initialising"); + debug!(?init, ?runtime, pid=%std::process::id(), "initialising"); let (fs_s, fs_r) = watch::channel(take(&mut runtime.fs)); let (ac_s, ac_r) = watch::channel(take(&mut runtime.action));