title: MongoDb - Get logs of the executed queries
body: <p>I am using mongodb C# driver to perform all the operations on mongodb. 
  I want the logs like time taken to execute the operation, locks acquired, COLLSCAN/IXSCAN stage etc.. </p>
  
  <p>All I am getting now in my logs is the statements for creation and dropping of collections and indexes. </p>
  
  <pre><code>2019-08-26T14:44:57.444+0530 I INDEX    [conn2] build index on: TestDb.System2 properties: { v: 2, unique: true, key: { description: 1 }, name: "description_1", ns: "TestDb.System2", background: true, sparse: false }
  2019-08-26T14:44:57.444+0530 I INDEX    [conn2] build index done.  scanned 0 total records. 0 secs
  2019-08-26T14:44:57.642+0530 I COMMAND  [conn2] dropDatabase TestDb starting
  2019-08-26T14:44:57.642+0530 I COMMAND  [conn2] dropDatabase TestDb finished
  </code></pre>
  
  <p>How can I get the logs for the queries I am performing. </p>
  
  <p>Also, I am aware of <code>system.profile</code> collection. I do not want to push the logs to this collection by enabling the profiling.</p>