Log queries to mongodb

how do i enable logging in mongo and where do they get saved.

Looking for somthing similar to mysql.log file which can be set in my.cnf

This is a mongodb question rather than a Meteor question, but here you go:

https://docs.mongodb.org/manual/administration/analyzing-mongodb-performance/#database-profiling