Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1223

Make SDAM debug logging to be less noisy

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      A number of users complained about debug SDAM messages that look meaningless. For example:

      D, [2017-06-19T12:14:30.171611 #36565] DEBUG -- : MONGODB | Server description for changed from 'primary' to 'primary'.
      D, [2017-06-19T12:14:30.254118 #36565] DEBUG -- : MONGODB | Server description for changed from 'secondary' to 'secondary'.
      D, [2017-06-19T12:14:31.083621 #36565] DEBUG -- : MONGODB | Server description for changed from 'secondary' to 'secondary'.
      D, [2017-06-19T12:14:41.139673 #36565] DEBUG -- : MONGODB | Server description for changed from 'secondary' to 'secondary'.
      

      It should not be necessary to log messages like these if there wasn't any change in the server's status.

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: