Hi,

On Wed, Sep 24, 2008 at 04:14:03PM +0900, Takenaka Kazuhiro wrote:
> Hi all.
> 
> I looked through stonith-plugins in /usr/lib/stonith/plugins/external
> to find out stonith-plugins' official way to send their messages to
> ha-log, but I couldn't find it.
> 
> If there is a similar function to 'ocf_log' for stonith-plugins,
> I think it must be handy. Or I should simply have my stonith-plugins
> use 'ocf_log'?

Yes.

Though the preferable way would be to have the parent plugin
(external.c) collect the output and send it to the logger, in the
same way the lrmd does with resource agents.

Thanks,

Dejan

> Best regards.
> -- 
> Takenaka Kazuhiro <[EMAIL PROTECTED]>
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker@clusterlabs.org
> http://list.clusterlabs.org/mailman/listinfo/pacemaker

_______________________________________________
Pacemaker mailing list
Pacemaker@clusterlabs.org
http://list.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to