[Linux-ha-dev] [PATCH][STABLE_1_2_3] heartbeat/hb_api.c is too
verbose
Roberto Nibali
ratz at drugphish.ch
Tue Dec 14 14:01:05 MST 2004
> How about the attached patch instead?
> Index: hb_api.c
> ===================================================================
> RCS file: /home/cvs/linux-ha/linux-ha/heartbeat/hb_api.c,v
> retrieving revision 1.122
> diff -u -r1.122 hb_api.c
> --- hb_api.c 4 Nov 2004 21:33:41 -0000 1.122
> +++ hb_api.c 14 Dec 2004 20:31:44 -0000
> @@ -1462,8 +1462,10 @@
> }
>
> if (CL_KILL(client->pid, client->signal) < 0 && errno == ESRCH) {
> - cl_log(LOG_INFO, "api_send_client: client %ld died"
> - , (long) client->pid);
> + if (ANYDEBUG) {
D'oh, missed that ANYDEBUG ;). Yes, this is better.
Thanks,
Roberto Nibali, ratz
--
echo
'[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc
More information about the Linux-HA-Dev
mailing list