You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where do we configure the truncation length? Our messages are getting truncated and suffixed with ... and they are pretty short messages. It would be useful if we could change this behavior. Thanks.
The text was updated successfully, but these errors were encountered:
Truncation isn't configurable. Even though function truncate(payload, jsonBackup, maxSize) in PR #630 linked above accepts a maxSize argument, it is never called with that argument and always uses the default 500K maxSize.
The current algorithm successively truncates strings to shorter lengths until the total payload is under maxSize. A good improvement would be to allow customizing the truncation strategies to prioritize the parts of the payload expected to be the most problematic and/or the most optional.
It seems this topic has been brought up a couple of times and an issue comment seems to indicate that the truncation length is configurable
Where do we configure the truncation length? Our messages are getting truncated and suffixed with
...
and they are pretty short messages. It would be useful if we could change this behavior. Thanks.The text was updated successfully, but these errors were encountered: