On Wed, Jan 13, 2010 at 3:13 AM, Dejan Muhamedagic <deja...@fastmail.fm> wrote:
> Hi Kazutomo-san,
>
> On Wed, Jan 13, 2010 at 11:39:57AM +0900, NAKAHIRA Kazutomo wrote:
>> Hi, all
>>
>> I replace echo command with ocf_log in the pgsql RA
>> because echo command output in the monitor function
>> was not recorded in the ha-log and ha-debug.
>>
>> It is a cause that log-level of the echo command output
>> in the monitor function is set to debug2.
>
> Which log-level is that? echo can't have log-level.
>
>> Moreover, echo command in the start/stop functions are
>> replaced by ocf_log to unify the logging methods.
>
> When run from lrmd, i.e. in normal cluster operation, all
> stdout/stderr output is logged, so sending output to stdout
> shouldn't be a problem.
>
> Cheers,
>
> Dejan
>

You are absolutely right here and results of those echo commands are
logged in, at least in my configuration. But this patch makes sense
anyway since it unifies output methods. So please apply it if you
don't have any arguments against it.

Thanks.


-- 
Serge Dubrouski.
_______________________________________________________
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/

Reply via email to