From: Lennart Poettering Date: Wed, 7 Apr 2010 01:16:50 +0000 (+0200) Subject: dbus: be a bit more explicit about which bus connection failed X-Git-Tag: 0.git+20100605+dfd8ee-1~237 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=266e525cc1861bd37ffa6e03504d5c6662118cf1;p=systemd dbus: be a bit more explicit about which bus connection failed --- diff --git a/dbus.c b/dbus.c index 5829a54f..546a7c59 100644 --- a/dbus.c +++ b/dbus.c @@ -494,7 +494,7 @@ int bus_init_system(Manager *m) { m->system_bus = m->api_bus; else { if (!(m->system_bus = dbus_bus_get_private(DBUS_BUS_SYSTEM, &error))) { - log_error("Failed to get D-Bus connection, retrying later: %s", error.message); + log_debug("Failed to get system D-Bus connection, retrying later: %s", error.message); dbus_error_free(&error); return 0; } @@ -551,7 +551,7 @@ int bus_init_api(Manager *m) { m->api_bus = m->system_bus; else { if (!(m->api_bus = dbus_bus_get_private(m->running_as == MANAGER_SESSION ? DBUS_BUS_SESSION : DBUS_BUS_SYSTEM, &error))) { - log_debug("Failed to get D-Bus connection, retrying later: %s", error.message); + log_debug("Failed to get API D-Bus connection, retrying later: %s", error.message); dbus_error_free(&error); return 0; }