[syslog-ng]1.9.3 bug proposal : resolving $HOSTS in destination
Balazs Scheidler
syslog-ng@lists.balabit.hu
Mon, 28 Feb 2005 17:12:36 +0100
On Mon, 2005-02-28 at 15:46 +0100, Gilles Demarty wrote:
> Nate Campi wrote:
> > On Mon, Feb 28, 2005 at 02:31:00PM +0100, Gilles Demarty wrote:
> >
> >>Here are the revelant debugging infos :
> >>
> >>Incoming log entry; line='<21>Feb 28 15:24:46 logger: test'
> >
> >
> > You haven't said what would you have it do when there's no hostname in
> > the incoming message (as is the case here). Would you have it fall back
> > to using the IP of the remote system? Maybe that's not a bad idea.
> >
>
> The issue is not that the hostname is empty( well that's kind of issue
> too, but not the one I point out ;) ) , but that the resolve of the
> string is not perfomed correctly :
> filename='localhost/var/log/hosts//mail 2005-02-28.notice'
> ^^^^^^^^^
>
> I got the same, if I remove the $HOST/ in the destination string. The
> resulting filename is :
> filename='mail/var/log/hosts/ 2005-02-28.notice'
> ^^^^
>
> I know, the title would have been : "[syslog-ng]1.9.3 bug proposal :
> resolving $... in destination" instead of $HOST, but well, that's less
> understanding.
thanks for the report. I'll look into it.
--
Bazsi