[ClusterLabs] Opinions wanted: another logfile question for Pacemaker 2.0

Ken Gaillot kgaillot at redhat.com
Thu Jan 18 09:43:42 EST 2018


On Thu, 2018-01-18 at 06:15 +0100, Dennis Jacobfeuerborn wrote:
> On 15.01.2018 17:51, Ken Gaillot wrote:
> > Currently, Pacemaker will use the same detail log as corosync if
> > one is
> > specified (as "logfile:" in the "logging {...}" section of
> > corosync.conf).
> 
> So far I've never dealt with the logging config of Pacemaker but
> isn't
> it possible to configure the log-file in Pacemaker so that the user
> can
> select if he/she wants to use a separate file?

Not currently -- Pacemaker always prefers the corosync log if one is
configured.

> Also does Pacemaker support journal logging because that would allow
> having your cake and eat it too. When looking at the logs simply
> specify

Yes, that's a good point. If someone wants to see the logs combined,
the journal is a good place for that.

Pacemaker can be configured to log to the syslog/journal and to a file
as well.

> and individual unit if you want to look at the logs separately or
> both
> Corosync and Pacemaker units if you want the interleaved version.
> 
> Regards,
>   Dennis
> 
-- 
Ken Gaillot <kgaillot at redhat.com>




More information about the Users mailing list