[OCF] ocf-shellfuncs standardization - Comments? Objections?
Alan Robertson
alanr at unix.sh
Sun Jul 3 16:32:36 MDT 2005
Ragnar Kjørstad wrote:
> On Sun, Jul 03, 2005 at 03:20:45PM -0600, Alan Robertson wrote:
>>>>The function is ocf_log - which (as written) takes at least two arguments:
>>>>
>>>>1: severity
>>>>2-n: message text
>>>Why?
>>>The LSF already defines standard logging functions.
>>I assume you mean the LSB. Could you provide a reference for this?
>
> Yes, LSB.
> http://refspecs.freestandards.org/LSB_2.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptfunc.html
>
> log_success_msg, log_failure_msg and log_warning_msg.
OK.
Those don't serve the same purpose as we're trying to do.
These are only for the final "I'm done and everything is success or
failure or warning" - and they only go to the pre-boot console (in
practice).
We need things which also allow informative messages, debug messages,
and which don't (in practice) print funny reverse video thing, and which
don't go to the pre-boot console.
They are related, but serve different purposes.
--
Alan Robertson <alanr at unix.sh>
"Openness is the foundation and preservative of friendship... Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
More information about the OCF
mailing list