Bug#512663: When logging to remote, hostname gets doubled

2009-02-03 Thread Michael Biebl
. Youshchenko; 512...@bugs.debian.org Subject: Re: Bug#512663: When logging to remote, hostname gets doubled Rainer Gerhards wrote: The problem is that sysklogd does not properly parse the syslog header and does NOT expect a hostname inside it. sysklogd always uses the hostname from the udp layer

Bug#512663: When logging to remote, hostname gets doubled

2009-01-22 Thread Nikita V. Youshchenko
Package: rsyslog Version: 3.18.6-3 Severity: normal Looks like fresh lenny installs come with rsyslog instead of old syslogd. In our network, logs from all hosts are sent to one server, called loghost, using remote logging. There, logs are checked by logcheck. Most of the net, including

Bug#512663: When logging to remote, hostname gets doubled

2009-01-22 Thread Michael Biebl
Nikita V. Youshchenko wrote: Package: rsyslog Version: 3.18.6-3 Severity: normal Looks like fresh lenny installs come with rsyslog instead of old syslogd. In our network, logs from all hosts are sent to one server, called loghost, using remote logging. There, logs are checked by

Bug#512663: When logging to remote, hostname gets doubled

2009-01-22 Thread Rainer Gerhards
The problem is that sysklogd does not properly parse the syslog header and does NOT expect a hostname inside it. sysklogd always uses the hostname from the udp layer, thus the duplication. However, it is easy to work around: you need to create a special template (that does not contain the host

Bug#512663: When logging to remote, hostname gets doubled

2009-01-22 Thread Michael Biebl
Rainer Gerhards wrote: The problem is that sysklogd does not properly parse the syslog header and does NOT expect a hostname inside it. sysklogd always uses the hostname from the udp layer, thus the duplication. But that sounds more like a bug in sysklogd then rsyslog, right? Or is adding a

Bug#512663: When logging to remote, hostname gets doubled

2009-01-22 Thread Rainer Gerhards
-Original Message- From: Michael Biebl [mailto:bi...@debian.org] Sent: Thursday, January 22, 2009 7:07 PM To: Rainer Gerhards Cc: Nikita V. Youshchenko; 512...@bugs.debian.org Subject: Re: Bug#512663: When logging to remote, hostname gets doubled Rainer Gerhards wrote