Score:0

Disable mongodb NETWORK logs

cn flag

I'd like to disable NETWORK logs but can't find a way. As I can see in the docs, without using quiet I am already at the least verbose level with 0.

The verbosity level can range from 0 to 5 :

  • 0 is the MongoDB’s default log verbosity level, to include Informationalmessages.
  • 1 to 5 increases the verbosity level to include Debug messages.

Is there a way to remove NETWORK logs but keep useful logs such as slow queries and the likes ?

Score:0
br flag

vi /etc/mongod.conf

systemLog:
  quiet: true
  path: /dev/null
cn flag
OP asked how to retain other logs than NETWORK.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.