From: Dwight Engen Date: Tue, 11 Mar 2014 18:48:32 +0000 (-0400) Subject: make failure to connect to cgmanager DEBUG instead of ERROR X-Git-Tag: lxc-1.1.0.alpha1~213 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=395d87ff2319deec340879ce114fea0d6948f32a;p=thirdparty%2Flxc.git make failure to connect to cgmanager DEBUG instead of ERROR You can have both cgmanager and cgfs compiled in, and lxc will fall back at runtime to cgfs if it cannot connect to cgmanager, so print the failure to connect as a DEBUG like the code used to do. Signed-off-by: Dwight Engen Signed-off-by: Serge Hallyn --- diff --git a/src/lxc/cgmanager.c b/src/lxc/cgmanager.c index 38f482b94..6cefacb82 100644 --- a/src/lxc/cgmanager.c +++ b/src/lxc/cgmanager.c @@ -143,7 +143,7 @@ static bool do_cgm_dbus_connect(void) connection = dbus_connection_open_private(CGMANAGER_DBUS_SOCK, &dbus_error); if (!connection) { - ERROR("Failed opening dbus connection: %s: %s", + DEBUG("Failed opening dbus connection: %s: %s", dbus_error.name, dbus_error.message); dbus_error_free(&dbus_error); return false;