0

There is any way to log all MongoDB query into a file

1 Answer 1

1

Enable the profiler in MongoDB Database.

https://docs.mongodb.com/manual/reference/method/db.setProfilingLevel/

Not the answer you're looking for? Browse other questions tagged or ask your own question.