Simplify flushing logic
Dont ignored Json Exceptions
Better logging. Add a print method for messages that indicate failure but dont fit into debug/error format
Merge pull request #140 from segmentio/prateek/oom

Fix OOM, don't ignore deserialization errors, improve error messages.