[syslog-ng]keep_hostname directive

Nate Campi nate@campin.net
Mon, 18 Dec 2000 13:29:23 -0800 (PST)


I have a syslog-ng loghost at home with an options line like this:

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?

Thanks,

Nate