Skip to contentSkip to conversation

cluster/cman/daemon ais.c

Cluster-devel [email protected] 1 participant 1 message Nov 1, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2007-11-01 14:06:02

Modified files:
cman/daemon : ais.c

Log message:
Enable to_stderr logging if 'cman_tool join -d' is used.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/ais.c.diff?cvsroot=cluster&r1=1.53&r2=1.54

cman/daemon/ais.c +4 -1
@@ -570,9 +570,12 @@
 		objdb->object_key_create(logger_object_handle, "subsys", strlen("subsys"),
 					 "CMAN", strlen("CMAN")+1);
 
-		if (debug_mask)
+		if (debug_mask) {
 			objdb->object_key_create(logger_object_handle, "debug", strlen("debug"),
 						 "on", strlen("on")+1);
+			objdb->object_key_create(object_handle, "to_stderr", strlen("to_stderr"),
+						 "yes", strlen("yes")+1);
+		}
 	}
 
 	/* Don't run under user "ais" */