elasticsearch/logstash-forwarder — pull request #146 by intellectronica (2014-01-30 14:18:55+00:00)
Title: Fix an off-by-one error when comparing file size

This fixes a subtle bug where if we don't get new entries into a log file for more than 10s we compare the file size to offset, and because the result is off by one we assume that the file has been truncated and read from the beginning.