Re: [PATCH] Include ringid in processor joined log message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Much appreciated

On Thu, May 10, 2012 at 6:13 PM, Jan Friesse <jfriesse@xxxxxxxxxx> wrote:
> This should help correlate syslog entires with their blackbox
> counterparts.
>
> Signed-off-by: Jan Friesse <jfriesse@xxxxxxxxxx>
> ---
>  exec/totemsrp.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/exec/totemsrp.c b/exec/totemsrp.c
> index b3d86f4..895a13e 100644
> --- a/exec/totemsrp.c
> +++ b/exec/totemsrp.c
> @@ -1904,7 +1904,9 @@ static void memb_state_operational_enter (struct totemsrp_instance *instance)
>        log_printf (instance->totemsrp_log_level_debug,
>                "entering OPERATIONAL state.");
>        log_printf (instance->totemsrp_log_level_notice,
> -               "A processor joined or left the membership and a new membership was formed.");
> +               "A processor joined or left the membership and a new membership (%s:%lld) was formed.",
> +               totemip_print (&instance->my_ring_id.rep),
> +               instance->my_ring_id.seq);
>        instance->memb_state = MEMB_STATE_OPERATIONAL;
>
>        instance->stats.operational_entered++;
> --
> 1.7.1
>
> _______________________________________________
> discuss mailing list
> discuss@xxxxxxxxxxxx
> http://lists.corosync.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss



[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux