Print PID in initialisation

This commit is contained in:
Félix Saparelli 2021-08-23 02:30:56 +12:00
parent 18d2487ec3
commit f4a8a9fc6a
No known key found for this signature in database
GPG Key ID: B948C4BAE44FC474
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ impl Watchexec {
mut init: InitConfig,
mut runtime: RuntimeConfig,
) -> Result<Arc<Self>, 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));