Is there any log added or deleted in MongoDB?

  mongodb, question

Can I find the statement to add or delete in MongoDB’s log? Binlog similar to mysql
I only found some connection information in mongodb.log I did not add, delete or modify the log.
I want to get the statements executed by the database for a period of time. I don’t know if there are any statements or where they exist.

1.set the profiling level db.setProfilingLevel(2)
2.Check Profiling Level db.getProfilingStatus() result { “was” : 2, “slowms” : 100 }
3.get logresult db.system.profile.find()
图片描述
refer to:https://docs.mongodb.com/manu …