My query is to understood Log recording by MongoDB.
To understand process, I have execute a set of queries each 3 times and every time, planCache is cleared . To get all process logging, I have also configured mongod with --profile 2 --slowms 1 --slowOpSampleRate 0.5 . also.
But, when I check log entries for these queries, it shows few getMore entries of first instance, few getMore queries of second instance, and single log record of find or aggregate command.
Why log file does not show all query processes for the test query
Why does it not shows all logs of all query processing steps?