Lol... the initial message seems not to have passed my spam filter... ;) I, too, tend to option three. The problem, though is backwards-compatibility... Any suggestions and concerns are appreciated.
I'll look at the code to see how much work that creates. I think the complexity is quite acceptable. I am right now in a threading redesign, so I'd like to push this away for a little while... Anyhow, please keep comments floating - I'll listen and drop in any thoughts I have. Rainer > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:rsyslog- > [EMAIL PROTECTED] On Behalf Of Raoul Bhatia [IPAX] > Sent: Thursday, December 13, 2007 9:56 AM > To: rsyslog-users > Subject: Re: [rsyslog] Problems with IncludeConfig > > Michael Biebl wrote: > > the current IncludeConfig implementation has some issues, especially > > for distributers: > > All files in the directory as specified by $IncludeConfig are > included. > > This means, temp files like *~ *.bak etc that are left behind by > > editors, or stuff like *.rpmsave or *.dpkg-old/*.dpkg-new. > > This is obviously unfortunate. > > > > How shall we solve this? > > 1.) I patched the Debian package to only include files ending with > > *.conf. If we document that properly this is imho an acceptable > > solution. > > 2.) Implement an internal blacklist of endings that are ignored (see > above) > > 3.) Instead of hardcoding the file ending to *.conf (as in 1.), use > > the same syntax as e.g. apache, which allows to specify shell globs: > > example: > > Include /etc/apache2/conf.d/*.conf > > i would opt for the third option - thou i'm not sure how much work > this creates ;) > > cheers, > raoul > -- > ____________________________________________________________________ > DI (FH) Raoul Bhatia M.Sc. email. [EMAIL PROTECTED] > Technischer Leiter > > IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at > Barawitzkagasse 10/2/2/11 email. [EMAIL PROTECTED] > 1190 Wien tel. +43 1 3670030 > FN 277995t HG Wien fax. +43 1 3670030 15 > ____________________________________________________________________ > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog

