From: Lennart Poettering Date: Wed, 8 May 2024 08:39:29 +0000 (+0200) Subject: bus-util: add log message when exiting because of idle X-Git-Tag: v257-rc1~1176^2 X-Git-Url: http://git-history.diyao.me/?a=commitdiff_plain;h=e72d5955f6677eae3a341f20c397f34ce8a21362;p=systemd%2F.git bus-util: add log message when exiting because of idle --- diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c index 544494b3f8..e3182e124f 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);