MongoDB Startup parameter--quiet

Source: Internet
Author: User
Tags log log

"MONGO Group of Friends asked a question in the group, asked is the--quiet start parameter how to use?" How to understand the quiet output? “

See this question, have seen--quiet this parameter before, did not study carefully, also did not use in the production.

At MongoDB start-up time, there is a startup parameter--quiet, not used in production,./mongo--help See the explanation for it is also very simple,--quiet is less chatty, so query the Xia Guan Network, the interpretation of its parameters, as follows:

--quiet

Runs the mongooplog in a quiet mode, attempts to limit the amount of output.

This option suppresses:

    • Connection accepted Events
    • Connection closed Events

Run mongooplog in quiet mode , trying to limit the amount of output .

This option cancels :

events that accept connections

Connection Shutdown Event

You can understand this: if you add this--quiet parameter in the startup item, in log logs, these 2 events are not entered into their log files, and if the--quiet option is not turned on, then the log log will have information about connection and shutdown events.

While the log logs log Oplog data synchronization log and journey repair logs, it is not understood that the logs for this operation are oplog.

MongoDB Startup parameter--quiet

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.