[syslog-ng]annoying double-hostname in logfile

Michael Renner robe@amd.co.at
Fri, 24 Aug 2001 15:55:11 +0200 (CEST)


hi!

i replaced syslogd on our master logserver with syslog-ng, because syslogd
wasn't able to handle all the incoming syslog messages (receive queue was
permanent around 65500 bytes, dropped 50-90% of the incoming messages).

syslog-ng now works like a charm, there's only one cosmetic flaw: every
hostname in the logfile is twice, seperated by a slash, like:

Aug 24 15:50:34 baby.inode.at/baby.inode.at 2961721: 13w6d: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1:13, changed state to up

the sending sysloggers are syslogds, ciscos, zyxels, etc. so (at least
IMHO) its not a config setting on the remote syslogger

how can i prevent syslogd from double-printing the hostnames? relevant
syslog-ng.conf snippet is here:

---

options { sync (0);
          log_fifo_size (1000);
          use_fqdn (yes);
        };

---


greetz

Michael Renner
Inode Internet - Junior System Engineer