-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Unknown
-
None
-
Affects Version/s: 4.3.4
-
Component/s: Command Logging and Monitoring
-
None
Currently, in LoggingCommandEventSender, there is a hardcoded limit of 1000 for the length of the output json (inside getTruncatedJsonCommand() line 64)
The log generated from the line was, at least for me, the only way to see the full query being sent to mongo so I can debug it. It would be good if the truncating can be turned off / the length can be customised so that the full query is output when needed.
Currently the only way for me to get the full output was to put a breakpoint there and through the evaluator on my IDE overwrite the jsonWriter with maxLength set to Integer.MAX_VALUE
- duplicates
-
JAVA-4841 Support configurable max document length in command logging
- Closed