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.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F33045%2Fhead;p=thirdparty%2Fsystemd.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 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);