Long queries do not show the actual query in the log.

42 views
Skip to first unread message

Alex Paransky

unread,
May 10, 2012, 7:43:23 AM5/10/12
to mongod...@googlegroups.com
We noticed that when query takes long to execute mongo logs this:

Wed May  9 16:29:39 [conn173902] query surveybuilder.surveyResponse ntoreturn:1000 ntoskip:34000 nscanned:1691092 nreturned:781 reslen:4196623 38158ms

But we don't see the actual query.  Is there something we need to change to have the log include the query it's self ?

Thanks

-AP_

Tad Marshall

unread,
May 10, 2012, 1:46:18 PM5/10/12
to mongod...@googlegroups.com
What version of mongod are you running?  This was broken in 2.0.2, should be fixed in 2.0.4.  See https://jira.mongodb.org/browse/SERVER-4729 .
Reply all
Reply to author
Forward
0 new messages