This is an example of line that we log for small (2 docs) batch inserts:
2014-08-21T12:26:32.909-0400 [conn4] command test.$cmd command: insert { insert: "test", documents: 2, ordered: true } keyUpdates:0 numYields:0 locks(micros) w:292 reslen:40 285ms
This is when the batch is big (10000 inserts):
2014-08-21T12:29:39.264-0400 [conn5] command test.$cmd command: insert { $msg: "query not recording (too large)" } keyUpdates:0 numYields:0 locks(micros) w:345 reslen:40 128ms
It's easy to see that the latter line is practically useless for diagnostic purposes as it has no information about the batch itself at all.
- duplicates
-
SERVER-16324 Command execution log line displays "query not recording (too large)" instead of abbreviated command object
- Closed
- is related to
-
SERVER-6218 Profile documents should include partial query object instead of "too large" error
- Closed