How to log mongo requests in terminal


is it a way to log mongo requests and their results in the terminal please?
I tried mongo console with something like db.system.profile.find({op:“query”, …}) but i can’t see the result.

If you are using meteor mongo, you should be able to run queries like: db.yourCollection.find({op:"query"}), where `yourCollection’ is the mongo name of your collection:

SomeCollectionInYourApp = new Mongo.Collection('yourCollection')