[syslog-ng] Managing hostnames
Olivier DUCROT
Olivier.Ducrot at easymac.fr
Tue Dec 5 12:49:05 CET 2006
Sorry for following myself.
I¹ve got it
chain_hostnames(no) <- is true by default
Then it works fine
bye
le 5/12/06 12:42, Olivier DUCROT à Olivier.Ducrot at easymac.fr a écrit :
> Hello list
>
> I¹m trying to configure syslog-ng with multiple mail server sources.
>
> It works fine, but I want a little more :
>
> The two line below shows what¹s happening :
>
> Dec 5 12:30:37 auxey postfix/smtpd[16360]: <- original log on the
> mail server
>
> Dec 5 12:30:37 auxey/auxey postfix/smtpd[16360]: <- log stored localy by
> syslog-ng shortname appeared twice separated by ³/²
>
> Here¹s my configuration :
>
> On auxey : /etc/syslog.conf
>
> mail.*
> @syslogserver.mydomain.com:514
>
> On syslogserver.mydomain.com : /usr/local/etc/syslog-ng.conf
>
> options { create_dirs(yes); keep_hostname(no); };
>
>
> source net { udp(); };
>
> destination d_auxey { file("/var/log/tracemail/auxey.log"); };
> destination d_hermes { file("/var/log/tracemail/hermes.log"); };
>
> filter f_auxey { host("auxey"); };
> filter f_hermes { host("hermes"); };
>
> log { source(net); filter(f_auxey); destination(d_auxey); };
> log { source(net); filter(f_hermes); destination(d_hermes); };
>
>
> I tried with keep_hostname(no); and keep_hostname(yes);and without the option
> with the same result
>
>
> Any idea ?
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20061205/a6c658cc/attachment.html
More information about the syslog-ng
mailing list