[syslog-ng] Feature Request: conf.d-like folders or
include statement
Evan Rempel
erempel at uvic.ca
Thu Jul 20 00:07:50 CEST 2006
You could modify your /etc/init.d/syslog-ng script to concatenate the conf.d
files into a "master" configuration file and then start syslog-ng.
I like the feature request, but until it is implimented, my suggestion might get you by.
Evan.
JP Senior wrote:
> I'm finding that I'm in need of a recursive conf.d-like configuration
> folder for syslog-ng.
>
>
>
> The reason I'm asking this is because I have many hosts, each requiring
> a separate configuration from the other, and my syslog-ng.conf file is
> getting pretty large, messy, and unmanageable.
>
> If it could iterate/enumerate /etc/syslog-ng/conf.d and add each of
> those to the 'running' config, that would be amazing.
>
>
>
> I think this could also work, in a less versatile function, by an
> 'include' statement in syslog-ng.conf.
>
> Ie:
>
> include { includefile(/etc/syslog-ng/extra/hostname.conf); };
>
>
>
> Am I on the right track, or is there a function to do this? :)
>
>
>
> -JP Senior
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> syslog-ng maillist - syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>
--
Evan Rempel erempel at uvic.ca
Senior Programmer Analyst 250.721.7691
Computing Services
University of Victoria
More information about the syslog-ng
mailing list