From 0efa78c4a8e786f78beff02a33aad84b54fa35c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Wed, 6 Sep 2023 12:50:52 +0100 Subject: [PATCH] adjusted logging on TaskClient Drop --- common/task/src/manager.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/task/src/manager.rs b/common/task/src/manager.rs index a2a7cdd087..670f9c7bb6 100644 --- a/common/task/src/manager.rs +++ b/common/task/src/manager.rs @@ -452,10 +452,11 @@ impl TaskClient { impl Drop for TaskClient { fn drop(&mut self) { - self.log(Level::Debug, "the shutdown is getting dropped"); - if !self.mode.should_signal_on_drop() { + self.log(Level::Debug, "the task client is getting dropped"); return; + } else { + self.log(Level::Info, "the task client is getting dropped"); } if !self.is_shutdown_poll() {