[Pacemaker] Every line produced with ocf_log is written twice

Andrew Beekhof andrew at beekhof.net
Tue Oct 2 12:18:01 CEST 2012


On Thu, Sep 27, 2012 at 2:19 AM, Grüninger, Andreas (LGL Extern)
<Andreas.Grueninger at lgl.bwl.de> wrote:
> Pacemaker 1.1.8 (Build: bdd3f2e):  ncurses libqb-logging libqb-ipc lha-fencing upstart systemd  heartbeat corosync-native snmp libesmtp
> resource-agents  3.9.3.113-a796f3-dirty
>
> I use in a resource script the logging facility with ocf_log.
> Every line produced with ocf_log is written twice.

At a guess, its because both $HA_LOGFILE and $HA_DEBUGLOG are defined.



More information about the Pacemaker mailing list