MongoDB: Don't truncate long logs and large queries in profiler

168 views
Skip to first unread message

Astro

unread,
Apr 12, 2017, 11:09:44 AM4/12/17
to mongodb-user
How can I configure mongodb to not to truncate logs larger than 10Kb in size? 

Same thing happens in the profiler collection.

Some of the queries on my deployment are running very slow and I can't check the complete query received by mongodb as it seems to be very large in size.

Is there any way to tell mongodb not to truncate these commands.

Any quick workaround is expected.


Thanks



Asya Kamsky

unread,
Apr 15, 2017, 10:51:14 AM4/15/17
to mongod...@googlegroups.com
You don't mention what version you are running. 

See comments in https://jira.mongodb.org/browse/SERVER-27212 about the work that was done to improve diagnostics for version 3.4. 

Asya

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/9acb9111-1d58-4188-832b-0cffd3ea09f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Asya Kamsky
Lead Product Manager
MongoDB
Download MongoDB - mongodb.org/downloads
We're Hiring! - https://www.mongodb.com/careers
Reply all
Reply to author
Forward
0 new messages