I am logging to syslog. It seems that almost every update is getting logged, e.g:
Oct 5 11:26:39 mongodb-b mongod.27017[24789]: Fri Oct 5 11:26:39 [conn182253] update Archive.PersonalStats query: { date: new Date(1349436221781), userid: 7749 } update: { $set: { medicalitemsused: 39.0 } } nscanned:1166 nupdated:1 keyUpdates:0 numYields: 9 locks(micros) w:13449 14411ms
Oct 5 11:26:39 mongodb-b mongod.27017[24789]: Fri Oct 5 11:26:39 [conn182256] update Archive.PersonalStats query: { date: new Date(1349436221781), userid: 7749 } update: { $set: { statenhancersused: 0.0 } } nscanned:1166 nmoved:1 nupdated:1 keyUpdates:0 numYields: 9 locks(micros) w:12617 14408ms
Oct 5 11:26:39 mongodb-b mongod.27017[24789]: Fri Oct 5 11:26:39 [conn182269] update Archive.PersonalStats query: { date: new Date(1349436221781), userid: 7749 } update: { $set: { refils: 0.0 } } nscanned:1166 nupdated:1 keyUpdates:0 numYields: 9 locks(micros) w:12851 14406ms
Oct 5 11:26:39 mongodb-b mongod.27017[24789]: Fri Oct 5 11:26:39 [conn182273] update Archive.PersonalStats query: { date: new Date(1349436221781), userid: 7749 } update: { $set: { trainsreceived: 41.0 } } nscanned:1166 nupdated:1 keyUpdates:0 numYields: 9 locks(micros) w:12089 14404ms
I have no idea why this is - these are tiny updates and the overhead of logging them will be far more than the overhead of executing the query! They also make my logs enormous.