[lxc-devel] [PATCH] make failure to connect to cgmanager DEBUG	instead of ERROR
    Dwight Engen 
    dwight.engen at oracle.com
       
    Tue Mar 11 18:48:32 UTC 2014
    
    
  
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 <dwight.engen at oracle.com>
---
 src/lxc/cgmanager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lxc/cgmanager.c b/src/lxc/cgmanager.c
index 38f482b..6cefacb 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;
-- 
1.8.5.3
    
    
More information about the lxc-devel
mailing list