[syslog-ng] Double hostname in log excerpt

Olivier DUCROT Olivier.Ducrot at easymac.fr
Sat Dec 23 12:13:40 CET 2006


I had the same using syslog-ng 2.0.0
I changed the config options to :

options { 
        chain_hostnames(no);
        create_dirs(yes);
        keep_hostname(no);
        use_dns(yes);
};

Now I have the host name only once


le 22/12/06 18:23, Steve Finkelstein à sfinkelstein at communityconnect.com a
écrit :

> Hi all,
> 
> I'm sending messages over a udp() stream to a centralized logging host
> using syslog-ng. The centralized server is displaying output like this:
> 
> Dec 22 11:36:31 cc15-5 cc15-5 syslog-ng[4748]: syslog-ng version 1.6.8
> starting
> 
> Is there a global option to disable that second c15-5? I'm not sure why
> it's being displayed twice. Generally syslogd would only incorporate
> this once. I have the following global options set:
> 
> options { stats(43200); chain_hostnames(off); sync(0); };
> 
> Thanks,
> 
> Steve
> 
> !DSPAM:3343,458c14af306121939910367!
> 
> 
> _______________________________________________
> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
> 
> 




More information about the syslog-ng mailing list