Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Dev

honoring "debug 0" in hadebug()

 

 

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded


r.bhatia at ipax

Sep 11, 2008, 8:01 AM

Post #1 of 1 (702 views)
Permalink
honoring "debug 0" in hadebug()

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. r.bhatia [at] ipax
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at
Barawitzkagasse 10/2/2/11 email. office [at] ipax
1190 Wien tel. +43 1 3670030
FN 277995t HG Wien fax. +43 1 3670030 15
____________________________________________________________________
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.