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

Java driver cluster log level defaults to DEBUG

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 3.8.0
    • Component/s: Configuration
    • Labels:
      None

      The default log level for org.mongodb.driver appears to be DEBUG as catalina.out is continuously spammed with messages like these:

      DEBUG 2018-08-29 05:12:52 cluster:56 - Checking status of *****:27017
      DEBUG 2018-08-29 05:12:52 cluster:56 - Updating cluster description to {type=STANDALONE, servers=[

      {address=*****:27017, type=STANDALONE, roundTripTime=0.6 ms, state=CONNECTED}

      ]

      Expected result would be not logging these messages unless explicitly configured to do so.

            Assignee:
            Unassigned Unassigned
            Reporter:
            teemu-assetti Teemu Kolehmainen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: