Sorry for my pool English.The problem is how and I find out the db operations in logs.
If I run ">db.foo.find();" is the any log logged this operation?
Hi,
Normally mongod will only log operations that are slower than the --slowms value (default 100ms).
You can enable the query profiler at a level of "2" to log all read/write operations to the system.profile capped collection:
Note that there is a separate system.profile collection per database.
Cheers,
Stephen