elastic / ecs-logging-nodejs

https://www.elastic.co/guide/en/ecs-logging/nodejs/master/intro.html
Apache License 2.0
68 stars 39 forks source link

fix(winston): do not remove info.level field #174

Closed trentm closed 10 months ago

trentm commented 10 months ago

Winston's logform docs state that 'info' objects should always have 'level' and 'message' fields. Some downstream transforms and transports can rely on this. Instead the 'ecsStringify' will handle excluding the 'level' field from the stringification.

Closes: #173