Wrapping a BSONArray object with redact changes its type to BSONObj which means it gets logged in
{0:"value0", 1:"value1", ...}format rather than ["value0", "value1", ...] format. This makes it a bit harder to parse the logs and might create inconsistencies in format between redacted and non-redacted arrays or depending on whether the arrays are nested.
- is depended on by
-
SERVER-61846 Prevent redact from throwing BSONObjectTooLarge
- Closed