On 2013-06-26T19:48:41, Tony Stocker <[email protected]> wrote:

> Where exactly do calls using 'ocf_log' log the information?  For instance
> with the call:
> 
>       ocf_log info "Starting $InstanceName"
> 
> inside a start function, where (what file) should I be looking for this
> output?

/var/log/messages.

Though I'd be open to consider a separate log file per agent; the
ocf-shellfunc file could make that configurable easily enough.

> Does any configuration need to be done to have the logging enabled or should
> it work by default 'out of the box'?

It ought to work by default.


Regards,
    Lars

-- 
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 
21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to