[syslog-ng]annoying double-hostname in logfile

Balazs Scheidler bazsi@balabit.hu
Fri, 24 Aug 2001 17:02:24 +0200


> 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);
>         };

chain_hostnames(no) will do the trick.

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