hi all, we have a few nested directories and log files within them. at the start of rsyslogd, files or directories may or may not be there. afaik imfile does not support nested directory wildcards at this point. im wondering if it makes sense to add support to imfile to poll for new files and directories every x seconds and have imfile do its usual thing for newly found matching files.
one alternative to above approach is to keep on reloading rsyslog every x seconds while rewriting rsyslog config to include all found nested directories within one directory. this feels somewhat wrong given that imfile seems to lean towards wildcard support (just current impl is limited). aside from feeling a bit awkward are there any downsides to reloading rsyslog every x seconds (of course we can add some kind of config file hashing to see if reload is necessary -- not sure if rsyslog already does that by default)? will reload interfere with loaded forwarding rules for existing files (especially if files are being logrotated at the same time)? thoughts? thank you. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

