It's useful to cap the length of JSON text when generating log statements that contain BSON documents. While one can generate the full JSON text and then take a substring, it's more efficient to stop writing as soon as the max size is reached, saving both memory and CPU.
- is depended on by
-
JAVA-2698 Include more of the command document when logging command execution
- Closed