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.

Reply via email to