In batching mode, `clearBatch` is being called after the post request: https://github.com/JaniAnttonen/winston-loki/blob/67e5fdfcc022171ad3d626412b7fcb3119a8ca9f/src/batcher.js#L198 Logs that came in while the post request is pending will be lost. `clearBatch` needs to be called before.