[syslog-ng]AIX and repeated message formats - fix?

Balazs Scheidler bazsi@balabit.hu
Mon, 4 Jun 2001 17:26:56 +0200


> I'm also receiving messages of the form:
> 
>     "above message repeats _n times"
> 
> I suspect this is coming from Red Hat of some derivation as that is
> what we have around here, with the exception of the HP-UX boxes - but
> I don't think they do that.
> 
> Is there any way the code can artificially insert a hostname into
> these?  Perhaps the message text can be put into a list in a file, and
> the code can determine who the network connection is coming from, and
> add the appropriate hostname to it.  Or perhaps it could do this
> automatically to every message: if the hostname is missing, add it.

syslog-ng adds the hostname to messages automatically unless you turn this
behaviour off by setting keep_hostname() to yes.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1