logstash/logstash — pull request #91 by avishai-ish-shalom (2012-01-27 08:09:23+00:00)
Title: Sane flush

Added flush cycle at configurable interval and inactive files close cycle every 10 seconds.

Logstash is blocking so flushing many files together in the event handler thread may be a problem for heavy setups that write a lot of data to a lot of files. I didn't think this edge case is worth complicating the code so i didn't handle it.