[Linux-ha-dev] Re: [Bug 231] New: When to use ha_logd

Guochun Shi gshi at ncsa.uiuc.edu
Thu Feb 3 11:51:14 MST 2005


At 02:12 AM 2/3/2005 -0800, you wrote:
>http://www.osdl.org/developer_bugzilla/show_bug.cgi?id=231
>
>           Summary: When to use ha_logd
>           Product: Linux-HA
>           Version: 1.99.2
>          Platform: All
>        OS/Version: Linux
>            Status: NEW
>          Severity: normal
>          Priority: P2
>         Component: Other
>        AssignedTo: alanr at unix.sh
>        ReportedBy: beekhof at gmail.com
>                CC: gshi at ncsa.uiuc.edu
>
>
>Currently I am using this hack to determin if various CRM pieces should use
>ha_logd as there is too much logging if it is not, and there seems to be no way
>to acurately determin the right thing to do.
>
>    cl_log_send_to_logging_daemon(TRUE);
>    if(HA_FAIL == LogToLoggingDaemon(LOG_INFO, "Using logging daemon", 
>                                     strlen("Using logging daemon"), TRUE)) {
>            cl_log_send_to_logging_daemon(TRUE);

I think you want to use FALSE here.

-Guochun

>            crm_warn("Not using logging daemon");
>    }
>
>
>
>------- You are receiving this mail because: -------
>You are on the CC list for the bug, or are watching someone who is.




More information about the Linux-HA-Dev mailing list