Commit 395d87ff by Dwight Engen Committed by Serge Hallyn

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: 's avatarDwight Engen <dwight.engen@oracle.com> Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
parent a2868fe9
...@@ -143,7 +143,7 @@ static bool do_cgm_dbus_connect(void) ...@@ -143,7 +143,7 @@ static bool do_cgm_dbus_connect(void)
connection = dbus_connection_open_private(CGMANAGER_DBUS_SOCK, &dbus_error); connection = dbus_connection_open_private(CGMANAGER_DBUS_SOCK, &dbus_error);
if (!connection) { if (!connection) {
ERROR("Failed opening dbus connection: %s: %s", DEBUG("Failed opening dbus connection: %s: %s",
dbus_error.name, dbus_error.message); dbus_error.name, dbus_error.message);
dbus_error_free(&dbus_error); dbus_error_free(&dbus_error);
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment