I was reading this article of mongodb on Indexing and Performance .
In this when they are performing any find query like db.names.find( {"name": "Arya"} ).sort( {"year": 1} )
They are showing some log messages which gives details about query. I dont know how how is the log message is printed , I tried to connect my mondodb free sandbox database from mongo shell. On executing the find query its prints the result but no log message . Pls see here what I mean by log message.
Plesae help me how to see log message. Any help will be appreciated.Thanks.