nodejs-logging icon indicating copy to clipboard operation
nodejs-logging copied to clipboard

Trimmed messages does not includes severity

Open lechen26 opened this issue 4 years ago • 0 comments

Hi

we are using winston logging library to stackdriver. we've noticed recently that when we have vary long message entry , the messages are trimmed and splitted to multiple messags. i've noticed thats due to the last addition of maxEntrySize , which is great. the problem is, when its happens, the severity get ignores, and all messages appears as INFO.

i would expect the split operation for the message will includes also the rest of the json for all messages including the severity.

how can we overcome this? except just trimming the message inside the formatter?

thanks

lechen26 avatar Jun 11 '20 09:06 lechen26