This is related to my question in stackoverflow where vb.net simply hang on updating a mongodb query.
After long soul searching we check the log. The log is 3GB in size.
A log with that size is absolutely useless. I cannot have any text editor to open it.
How to keep the log of mongodb small, say 50 mb max.
We are only interested in the last few commmand anyway not the whole log.
Is there a setting for that in MongoDB? If so what settings:
Note: The question is simmilar with: http://stackoverflow.com/questions/8777449/mongodb-log-file-size
However, that question doesn't ask
How do I do so by changing some text files or something persistent so that the setting remain every time I start mongodb.