cluster/cman/daemon commands.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2008-02-04 10:54:26
Modified files:
cman/daemon : commands.c
Log message:
Change a log_printf() into a syslog() so that the die message always arrives in the log.
cman/daemon/commands.c +2 -1
@@ -1889,7 +1889,8 @@ killmsg = (struct cl_killmsg *)data;P_MEMB ("got KILL for node %d\n" , killmsg->nodeid);if (killmsg->nodeid == wanted_nodeid) { -log_printf (LOG_INFO ,"cman killed by node %d because %s\n" , nodeid, +/* Must use syslog directly here or the message will never arrive */ +syslog (LOG_CRIT ,"cman killed by node %d because %s\n" , nodeid,killmsg_reason (killmsg->reason));exit (1 ); }