[syslog-ng] [Bug 170] feature request: include only load *.conf files

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Fri Mar 30 11:58:34 CEST 2012


https://bugzilla.balabit.com/show_bug.cgi?id=170





--- Comment #2 from Gergely Nagy <algernon at balabit.hu>  2012-03-30 11:58:33 ---
Had a go at this, the result is available on the feature/3.4/include-glob branch of my repo:
https://github.com/algernon/syslog-ng/tree/feature/3.4/include-glob

This allows one to write @include "/etc/syslog-ng/conf.d/*.conf", which will do just what you expect it to do. It also respects the global include-path
setting, so @include "blah/*.conf" will work too.

As of now, if no files were found, it will return an error, which is probably not what we want, I'll fix that up in a few moments.


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list