Closed seeARMS closed 10 months ago
Hi @seeARMS, I have submitted a PR to enable custom fields truncation in this repo. Please let me know if you have any further questions. Thank you!
Great! I noticed it's not included in the latest package published on npm (5.0.1) -- could we release a new package?
It would be great to expose jsonFieldsToTruncate in this library. I'd love to pass in a list of custom fields I use frequently, to ensure they get truncated.
I frequently log entries that do not get truncated, since they're nested in some custom entry. Thus, they get dropped.
Another reference: https://github.com/googleapis/nodejs-logging-bunyan/issues/524