Hi Raoul, On Fri, Oct 10, 2008 at 10:08:23AM +0200, Raoul Bhatia [IPAX] wrote: > Raoul Bhatia [IPAX] wrote: > > hi, > > > > refering [1] i am attaching a patch for /etc/ha.d/shellfuncs to honor > > the debuglevel (as in: not logging debug messages if debug == 0). > > > > any objections to applying it to heartbeat 2.99/3.0 ? > > > > cheers, > > raoul > > > > [1] http://www.gossamer-threads.com/lists/linuxha/dev/50916 > > attaching the patch this time ;)
Happens here all the time ;-) Many thanks for the patch. Cheers, Dejan > cheers, > raoul > -- > ____________________________________________________________________ > DI (FH) Raoul Bhatia M.Sc. email. [EMAIL PROTECTED] > Technischer Leiter > > IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at > Barawitzkagasse 10/2/2/11 email. [EMAIL PROTECTED] > 1190 Wien tel. +43 1 3670030 > FN 277995t HG Wien fax. +43 1 3670030 15 > ____________________________________________________________________ > --- /etc/ha.d/shellfuncs.orig 2008-09-12 10:41:44.000000000 +0200 > +++ /etc/ha.d/shellfuncs 2008-10-10 10:03:19.000000000 +0200 > @@ -83,6 +83,10 @@ ha_log() { > > ha_debug() { > > + if [ "x${HA_debug}" = "x0" ] ; then > + return 0 > + fi > + > if [ "x${HA_LOGD}" = "xyes" ] ; then > ha_logger -t "${HA_LOGTAG}" -D "ha-debug" "$@" > if [ "$?" -eq "0" ] ; then > > _______________________________________________________ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/