[Linux-HA] Logging of Stonith Agent

Dejan Muhamedagic dejanmm at fastmail.fm
Tue Oct 9 05:48:29 MDT 2007


Hi,

On Tue, Oct 09, 2007 at 09:23:27AM +0200, matilda matilda wrote:
> >>> Dejan Muhamedagic <dejanmm at fastmail.fm> 08.10.2007 17:23 >>>
> > There are no environment variables apart from those that
> > represent agent's parameters.
> 
> Hi Dejan,
> 
> is there a way to find out if the external plugin is called manually
> or by stonithd?

You mean by the plugin? No, I don't think so. Why would that be
important?

> > There is no special logging procedure--just echo whatever you
> > want to say to stdout and it will find it's way to the logs.
> 
> So, everything will be logged? No filtering based on a starting string
> (e.g. DEBUG, INFO)?

No, there's no filtering done. And it seems like all output ends
at the debug level. Perhaps that should change.

Thanks,

Dejan

> Have a nice day.
> 
> Best regards
> Andreas Mock
> 
> 
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems


More information about the Linux-HA mailing list