[syslog-ng]keep_hostname directive

Balazs Scheidler bazsi@balabit.hu
Tue, 19 Dec 2000 10:01:56 +0100

> options {
> keep_hostname(yes); use_dns(no); long_hostnames(off); sync(0); };
> ...and it shows the hostname in the logs as sent by the remote end. So I
> decide that the loghost I have at work, running syslog-ng 1.4.10 should be
> set up the same way. It currently uses reverse DNS to get the hostname
> (I don't like the trust in DNS, or the possible performance probs if
> there's DNS issues).
> When I stick that line in the conf file, syslog-ng only logs the IP
> address of the remote host. This isn't consistent with how the host at
> home runs with the same options line. Both are linux, built from
> source. The one at home is still running 1.4.7 (I know, I need to upgrade
> it ;)
> How do I make the newer verion keep the hostnames like the older one does?

hmm... this part has not changed since 1.4.7, so they should work the same.

PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
     url: http://www.balabit.hu/pgpkey.txt