Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27663

Informational Network component log messages should be configurable

    • Service Arch

      Currently, informational log messages for the network component in both (mongos and mongod) are always logged.

      Some users would like to disable the logging of messages such as:

      2016-02-22T17:37:17.172-0600 I NETWORK  [initandlisten] connection accepted from 127.0.0.1:64306 #2 (1 connection now open)
      2016-02-22T17:38:09.376-0600 I NETWORK  [conn2] end connection 127.0.0.1:64306 (1 connection now open)
      

      In cases where a load balancer is used, these messages yield little information and could contribute to additional IO should the connection churn be great.

      Currently, the only approach is to disable logging entirely through setting quiet=true

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            kevin.arhelger@mongodb.com Kevin Arhelger
            Votes:
            3 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated: