> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of [email protected]
> Sent: Tuesday, August 31, 2010 8:07 AM
> To: rsyslog-users
> Subject: Re: [rsyslog] $template to create filename, ownership, and
> other file-related questions
> 
> On Tue, 31 Aug 2010, Rainer Gerhards wrote:
> 
> >> in sysklogd syslog.conf -...@ip is valid
> >
> > Really? What does it do? As far as I remember, in sysklogd "-" was
> tied to
> > files as well as in rsyslog (keep in mind that I started with the
> sysklogd
> > config parser).
> 
> it may not do anything, but it accepts it without any problem. I
> recently
> upgraded a bunch of systems and discovered a week or so later that I
> wasn't getting logs from them and the reasons ended up being that I had
> copied the - from the old syslog.conf file into the rsyslog.conf file.
> removing it and restarting rsyslog made the logs flow again.


That's interesting. IMHO it is a config error which is simply not caught by
the sysklogd parser. It would be somewhat hard to emulate that in rsyslog, at
least with the new config system. But if it is considered worth it, I could
look into this issue.

Rainer
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to