diff --git a/backend/windmill-common/src/lib.rs b/backend/windmill-common/src/lib.rs index 7d75f36a91..baea4b1b5b 100644 --- a/backend/windmill-common/src/lib.rs +++ b/backend/windmill-common/src/lib.rs @@ -207,18 +207,17 @@ pub async fn shutdown_signal( #[cfg(any(target_os = "linux", target_os = "macos"))] tokio::select! { _ = terminate() => { - tracing::info!("2nd shutdown monitor received terminate"); + tracing::error!("2nd shutdown monitor received terminate"); }, _ = tokio::signal::ctrl_c() => { - tracing::info!("2nd shutdown monitor received ctrl-c"); + tracing::error!("2nd shutdown monitor received ctrl-c"); }, } #[cfg(not(any(target_os = "linux", target_os = "macos")))] tokio::select! { - _ = tokio::signal::ctrl_c() => {}, - _ = rx.recv() => { - tracing::info!("2nd shutdown monitor received killpill"); + _ = tokio::signal::ctrl_c() => { + tracing::errr!("2nd shutdown monitor received ctrl-c") }, }