[prev in list] [next in list] [prev in thread] [next in thread]
List: openais
Subject: Re: [Openais] [PATCH corosync_trunk] Add a debug message on node
From: Angus Salkeld <asalkeld () redhat ! com>
Date: 2010-02-18 20:12:30
Message-ID: 1266523950.31598.2.camel () localhost
[Download RAW message or body]
On Thu, 2010-02-18 at 12:57 -0700, Steven Dake wrote:
> good for merge
>
Committed as revision 2662.
-Angus
> regards
> -steve
>
> On Thu, 2010-02-18 at 11:11 +1100, Angus Salkeld wrote:
> > Hi
> >
> > This is needed by the test suite (next email).
> >
> > CTS uses this to figure out join/leave events.
> >
> > -Angus
> >
> > Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
> > ---
> > exec/main.c | 8 ++++++++
> > 1 files changed, 8 insertions(+), 0 deletions(-)
> >
> > diff --git a/exec/main.c b/exec/main.c
> > index 34ceb97..3f3ec87 100644
> > --- a/exec/main.c
> > +++ b/exec/main.c
> > @@ -353,6 +353,14 @@ static void confchg_fn (
> > serialize_lock ();
> > memcpy (&corosync_ring_id, ring_id, sizeof (struct memb_ring_id));
> >
> > + for (i = 0; i < left_list_entries; i++) {
> > + log_printf (LOGSYS_LEVEL_DEBUG,
> > + "Member left: %s\n", api->totem_ifaces_print (left_list[i]));
> > + }
> > + for (i = 0; i < joined_list_entries; i++) {
> > + log_printf (LOGSYS_LEVEL_DEBUG,
> > + "Member joined: %s\n", api->totem_ifaces_print (joined_list[i]));
> > + }
> > /*
> > * Call configuration change for all services
> > */
>
_______________________________________________
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic