hi,

while setting up pacemaker & heartbeat, i am wondering why the drbd
ocf's DEBUG messages are logged to syslog, even if "debug 0" is
specified in /etc/ha.d/ha.cf .

shouldn't ha_debug() in /etc/ha.d/shellfuncs honor the debug level,
and implement something like

> ha_debug() {
> +         if [ "x${HA_DEBUG}" = "x0" ]; then
> +                 return 0;
> +         fi
> +
>         if [ "x${HA_LOGD}" = "xyes" ] ; then

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
____________________________________________________________________
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to