No, that's not implemented. We could do this for files with fixed names (but there are feature request with a much higher priority in the queue), but it simply is impossible for files with dynamic names.
Rainer > -----Original Message----- > From: [email protected] [mailto:rsyslog- > [email protected]] On Behalf Of Ryan Sawhill > Sent: Sunday, October 14, 2012 11:16 PM > To: [email protected] > Subject: [rsyslog] Config directive to force immediate recreation of > output files on HUP? > > I agree this is silly, but I just want to check if there is something > like this already -- I didn't find anything in the documentation, so I > doubt it. > > If you need more detail... I haven't used rsyslog 6 or 7, but as of > version 5, with $HUPIsRestart finally gone: > > If you delete/mv some of rsyslog's output files and then hit rsyslogd > with a HUP, it doesn't recreate the files until it actually has a > message to write to them. I like this, and without even looking at the > code it makes sense to me. However, there are those that cling to their > custom scripts and would like rsyslogd to immediately create 0-byte > files (for any missing output files) after a SIGHUP. > > In any scenario I can imagine, using touch to manually create 0-byte > files should suffice, but still ... thought I'd ask. > > Cheers. > _______________________________________________ > 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. _______________________________________________ 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.

