cloudserver icon indicating copy to clipboard operation
cloudserver copied to clipboard

Time key in json logging with Fluentd

Open jykae opened this issue 3 years ago • 0 comments

Issue

"time" field is reserved key in fluentd, https://github.com/fluent/fluentd/issues/3269 This seems to come from werelogs as cloudserver uses it for logging: https://github.com/scality/werelogs/blob/8c483f34ed034719d995b3c26d2013b96b50ad62/lib/Logger.js#L67

Proposal

Change "time" key name in json logging to work together with fluentd.

jykae avatar Apr 06 '22 09:04 jykae