Send Linux-ha-cvs mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."
Today's Topics:
1. Linux-HA CVS: lrm by sunjd from ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Thu, 17 Nov 2005 03:32:57 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: lrm by sunjd from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : sunjd
Host :
Project : linux-ha
Module : lrm
Dir : linux-ha/lrm/lrmd
Modified Files:
lrmd.c
Log Message:
Polish the log message to be more detailed
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lrm/lrmd/lrmd.c,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -3 -r1.186 -r1.187
--- lrmd.c 17 Nov 2005 07:00:27 -0000 1.186
+++ lrmd.c 17 Nov 2005 10:32:56 -0000 1.187
@@ -1,4 +1,4 @@
-/* $Id: lrmd.c,v 1.186 2005/11/17 07:00:27 sunjd Exp $ */
+/* $Id: lrmd.c,v 1.187 2005/11/17 10:32:56 sunjd Exp $ */
/*
* Local Resource Manager Daemon
*
@@ -3287,6 +3287,7 @@
char buffer[BUFFLEN];
int readlen;
GString * gstr_tmp;
+ const char* op_type = NULL;
int rc = 0;
lrmd_rsc_t* rsc = NULL;
lrmd_op_t* op = (lrmd_op_t *)user_data;
@@ -3316,13 +3317,15 @@
if (errno == EAGAIN) {
rsc = lookup_rsc(op->rsc_id);
- lrmd_log(LOG_ERR, "RA %s:%s (process %d) failed to "
+ op_type = ha_msg_value(op->msg, F_LRM_OP);
+ lrmd_log(LOG_ERR, "RA %s:%s:%s (process %d) failed to "
"redirect %s for its background child (daemon) "
"processes. This will likely cause those "
"processes to die mysteriously at some later "
"time (terminated by signal SIGPIPE)."
, (rsc!=NULL)?rsc->class:"<NULL>"
, (rsc!=NULL)?rsc->type:"<NULL>"
+ , (op_type!=NULL)?op_type:"<NULL>"
, op->exec_pid
, (op->ra_stdout_fd==fd)?"stdout":"stderr");
}
@@ -3432,6 +3435,9 @@
}
/*
* $Log: lrmd.c,v $
+ * Revision 1.187 2005/11/17 10:32:56 sunjd
+ * Polish the log message to be more detailed
+ *
* Revision 1.186 2005/11/17 07:00:27 sunjd
* The fix for bug756
*
------------------------------
_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
End of Linux-ha-cvs Digest, Vol 24, Issue 57
********************************************