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 alan from ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Mon, 26 Dec 2005 10:35:45 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: lrm by alan from
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
linux-ha CVS committal
Author : alan
Host :
Project : linux-ha
Module : lrm
Dir : linux-ha/lrm/lrmd
Modified Files:
lrmd.c
Log Message:
Put in a little more detail in the temporary debugging output.
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/lrm/lrmd/lrmd.c,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -3 -r1.192 -r1.193
--- lrmd.c 25 Dec 2005 23:23:41 -0000 1.192
+++ lrmd.c 26 Dec 2005 17:35:44 -0000 1.193
@@ -1,4 +1,4 @@
-/* $Id: lrmd.c,v 1.192 2005/12/25 23:23:41 alan Exp $ */
+/* $Id: lrmd.c,v 1.193 2005/12/26 17:35:44 alan Exp $ */
/*
* Local Resource Manager Daemon
*
@@ -3113,9 +3113,9 @@
}
op_type = ha_msg_value(op->msg, F_LRM_OP);
-lrmd_log(LOG_ERR, "Mapping return value from plugin in %s() line %d",
__FUNCTION__, __LINE__);
+lrmd_log(LOG_ERR, "Mapping return value from op_type [%s] plugin in %s() line
%d", op_type, __FUNCTION__, __LINE__);
rc = RAExec->map_ra_retvalue(exitcode, op_type,
op->first_line_ra_stdout);
- if (rc != EXECRA_OK || debug_level > 1) {
+ if (rc != EXECRA_OK || debug_level > 0) {
lrmd_log(rc == EXECRA_OK ? LOG_DEBUG : LOG_ERR
, "Resource Agent (%s): process [%d], "
"exitcode %d, rc %d, with signo %d, the RA output: %s"
@@ -3123,7 +3123,7 @@
, p->pid, exitcode, rc, signo
, op->first_line_ra_stdout);
}
-lrmd_log(LOG_ERR, "Mapping of return value complete in %s() line %d",
__FUNCTION__, __LINE__);
+lrmd_log(LOG_ERR, "Mapping of return value for op [%s] complete in %s() line
%d", op_type, __FUNCTION__, __LINE__);
lrmd_log(LOG_ERR, "Resource Agent (%s): process [%d], "
"exitcode %d, rc %d, with signo %d, the RA output: %s"
, op_info(op), p->pid, exitcode, rc, signo, op->first_line_ra_stdout);
@@ -3454,6 +3454,9 @@
}
/*
* $Log: lrmd.c,v $
+ * Revision 1.193 2005/12/26 17:35:44 alan
+ * Put in a little more detail in the temporary debugging output.
+ *
* Revision 1.192 2005/12/25 23:23:41 alan
* Put in some temporary debugging code to just help me figure out
* why the permanent debugging code I put in isn't working...
------------------------------
_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
End of Linux-ha-cvs Digest, Vol 25, Issue 69
********************************************