logstash-plugins / logstash-codec-multiline

Apache License 2.0
7 stars 31 forks source link

Fixed auto_flush_interval #36

Closed nhurman closed 2 years ago

nhurman commented 8 years ago

auto_flush_interval has no effect in the current version. The accept method never gets called so no last know listener is saved. This patch fixes it by remembering the last block instead.

... at least it was broken in 2.0.11, which is shipped with Logstash 2.3.2. I'll check if the issue is still there in the latest commits. I'm not sure about how to fix it in the correct way, so the proposed fix may not be optimal.