From e72d5955f6677eae3a341f20c397f34ce8a21362 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 8 May 2024 10:39:29 +0200 Subject: [PATCH] bus-util: add log message when exiting because of idle --- src/shared/bus-util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c index 544494b3f80..e3182e124f4 100644 --- a/src/shared/bus-util.c +++ b/src/shared/bus-util.c @@ -148,6 +148,8 @@ int bus_event_loop_with_idle( return r; if (r == 0 && !exiting && idle) { + log_debug("Idle for %s, exiting.", FORMAT_TIMESPAN(timeout, 1)); + /* Inform the service manager that we are going down, so that it will queue all * further start requests, instead of assuming we are still running. */ (void) sd_notify(false, NOTIFY_STOPPING); -- 2.47.3