-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Server Programmability
When I'm debugging locally, if I print a large object, the default behavior is to truncate it by dropping attributes. It's easy to not realize this is happening, because the output is still valid BSON. (We do add a "truncated" field to the log line, but this is easy to miss if you're extracting just the value of interest.)
Can we change this default?
- Add a test-only setParameter that disables all log truncation.
- Have resmoke.py enable that parameter by default.
- Or leave it up to each suite to decide.
Alternatively, maybe we could disable truncation for messages of DEBUG severity?