Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5210

Use existing logging component for server detection log message

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.11.1
    • Affects Version/s: None
    • Component/s: Logging
    • None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      In scope of https://github.com/mongodb/mongo-java-driver/pull/1214, we added logging for server detection. A new logging component was added with the suffix DefaultClusterFactory. This goes against existing practice of naming loggers based on abstractions that user's understand, rather than internal class names that may change over time.

      We should use a different logger name for this functionality. I suggest client, as that is one that is already used for a similar purpose (to log MongoClient creation parameters).

            Assignee:
            slav.babanin@mongodb.com Slav Babanin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: