0

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

1

Enable the profiler in MongoDB Database.

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

| improve this answer | |

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