Log queries to mongodb


#1

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


#2

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