> use profilingtest
switched to db profilingtest
> db.setProfilingLevel(2);
> db.getProfilingLevel()
2
> db.somecollection.insert(
)
> db.somecollection.findOne()
> db.system.profile.find()
{ "ts" : ISODate("2011-09-14T10:40:23.391Z"), "info" : "query profilingtest.$cmd ntoreturn:1 command:
reslen:74 bytes:58", "millis" : 0 }
{ "ts" : ISODate("2011-09-14T10:40:47.091Z"), "info" : "insert profilingtest.somecollection", "millis" : 2 }{ "ts" : ISODate("2011-09-14T10:40:54.220Z"), "info" : "query profilingtest.somecollection ntoreturn:1 reslen:67 nscanned:1 \nquery: {} nreturned:1 bytes:51", "millis" : 0 }
- duplicates
-
SERVER-3848 Log doc during insert in system.profile collection
- Closed