How to disable mongodb connection logs?
With "quiet" configuration parameter (not recommended) you get rid of:


"Successfully authenticated as..."
"connection accepted from ..."


but "end connection ..." still stays there and there is no way to remove it, without changing source code. You can always ask developers to change code to

if (!quiet) { 
  const auto word = (connectionCount == 1 ? " connection"_sd : "connections"_sd);
  log() &lt;&lt; "end connection " &lt;&lt; remote &lt;&lt; " (" &lt;&lt; connectionCount &lt;&lt; word &lt;&lt; " now open)";
}