[Linux-HA] Logd directive question

Geurts, G.P.T.M. g.p.t.m.geurts at i-groep.leidenuniv.nl
Mon Jul 20 01:55:03 MDT 2009


Hi Dejan,
Thanks for your reply!
Ok, so the logd is just a piece of software connecting heartbeat to
syslog, and using the logd would give me the benefit of the 'bigger
number of messages' problem. But I cannot find any information on
logd.cf or ha_logd.cf
Could you direct me to a page explaining something about this file?
Ohw, by the way I'm using SLES10 SP2 and SLES doesn't include the
logd.cf or ha_logd.cf

Thanks!
Greetings,
Geert

-----Original Message-----
From: linux-ha-bounces at lists.linux-ha.org
[mailto:linux-ha-bounces at lists.linux-ha.org] On Behalf Of Dejan
Muhamedagic
Sent: vrijdag 17 juli 2009 10:37
To: General Linux-HA mailing list
Subject: Re: [Linux-HA] Logd directive question

Hi,

On Thu, Jul 16, 2009 at 02:44:37PM +0200, Geurts, G.P.T.M. wrote:
> Hello,
> I'm trying to configure heartbeat to log only via syslog-ng, it seems 
> obvious to me to use the following configuration in ha.cf logfacility 
> local0 Use_logd off
> 
> And remove the logfile directive from the ha.cf But the documentation 
> at http://www.linux-ha.org/ha.cf states the logfacility is depricated 
> and the prefered method of logging is via the logd...

logfacility is not deprecated, but logd is preferable. Of course, you
can use whatever you feel like.

> I have no idea what this spooky logd  is and why logd is the 
> recommended way of logging???

In short, logd handles big number of messages better.
I guess that there's some information about it out there.

> Viva syslog-ng!!! ;)

ha_logd does log through syslog. Just specify logfacility in
/etc/logd.cf.

Thanks,

Dejan

> Hope somebody can enlighten me!
> Greetings,
> Geert
> 
> Geert  Geurts
> Universiteit Leiden
> Afdeling Middleware
> Tel:071-5276873
> 
> _______________________________________________
> 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
_______________________________________________
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