[rsyslog] Problems with IncludeConfig
rgerhards at hq.adiscon.com
Tue Dec 18 17:21:26 CET 2007
This patch now also made it to the repository. Applied to both v2
(previously 1.20.2) and v3.
On Mon, 2007-12-17 at 05:09 +0100, Michael Biebl wrote:
> 2007/12/16, Michael Biebl <mbiebl at gmail.com>:
> > 2007/12/14, Rainer Gerhards <rgerhards at hq.adiscon.com>:
> > > Michael,
> > >
> > > sorry for the sluggish reply. I am right in the middle of the initial
> > > threading code (have a look at CVS ;)) and that blocks most of
> > > everything else ;)
> > >
> > > It would be great if you could supply a patch, I'd apply it as soon as I
> > > got something together with the new code. I try to do the threading in
> > > an as atomic code change as possible, but it will proabbyl busy me for a
> > > while ;)
> > Unfortunately I can't set the mimetype via gmail, so the patch is at
> > http://debs.michaelbiebl.de/rsyslog/rsyslog-glob.patch
> I have an updated patch
> which is backward compatible.
> It allows the following
> include config files:
> $IncludeConfig /etc/rsyslog.d/foo.conf
> include config directories:
> $IncludeConfig /etc/rsyslog.d/ (with or without trailing slash)
> include via shell glob:
> $IncludeConfig /etc/rsyslog.d/*.conf
> One remaining issue is, how to handle symlinks. I made the patch
> consistent to the current behaviour of doIncludeDirectories to ignore
> I know that the apache Include directive allows symlinks, and
> supporting it could be handy.
> So my question is, what do others think about it. Please let me know.
> P.S: A personal wish: as the list is subscriber only, would it be
> possible to allow attachements (other than text/plain, gmail is
> obviously too stupid)?
More information about the rsyslog