If you are using a file output then ruby will not necessarily write data to the file on disk just because an event is sent to the output. Ruby can choose to buffer writes together to reduce overhead. A flush forces Ruby to do the write to disk (although the OS may continue to buffer if it has writeback rather than writethrough semantics for the filesystem). The file output periodically does this, and logs that debug message when it does so.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.