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

Add support for partialSuccess flag in entries.write request for oversized log entries

Open losalex opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe. Today some requests might contain oversized log entries which cause entire write request to be dropped instead just of oversized log entries to be dropped (see log-limits for more information). Describe the solution you'd like The solution for this problem is to add partialSuccess flag as described in request-body. Describe alternatives you've considered Today we have a custom logic to truncate oversized log entries by setting maxEntrySize parameter. Unfortunately truncating JSON structured log entries is complex and building generic solution for reduction JSON data is hard to achieve, thus generic solution is out of scope.

losalex avatar Nov 17 '21 20:11 losalex