fluent / fluent-logger-node

A structured logger for Fluentd (Node.js)
Apache License 2.0
259 stars 83 forks source link

Trouble with millisecond (or any sub-second) resolution (outdated protocol implementation?) #165

Open costa opened 4 years ago

costa commented 4 years ago

First, thanks for maintaining this module.

Then, it appears to have trouble with getting sub-second resolution right, and it may be because the last update of the related code (#47, 2016) doesn't seem to conform to the current fluentd spec (https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1, 2017).

I've checked this with a new project having the most recent versions of everything:

I believe it's a quick fix for @sveneh or @okkez or other people doing great job here.