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

Disable default logging in Mongo driver

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 12_01_17
    • Component/s: None
    • Labels:
    • Environment:
      All.

      Description

      Mongo driver is writing debug messages to console for every DB access.

      I know it can be disabled by Mongo::Logger.logger.level = ::Logger::FATAL but it should be at fatal level by default.

      Damjan Rems

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              emily.stolfo Emily Stolfo
              Reporter:
              ther Damjan Rems
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: