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

Enable C++ driver logging on DEBUG level

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.2.3
    • Component/s: Internal Client
    • Labels:
      None
    • Environment:
      Fedora 16
      CentOs 6.4

      I'd like to know how can one enable C++ driver logging on DEBUG level? I've tried using mongo::initLogging(<some-file>, true) but it does not write too much. It seems to write only messages logged by calls to "log()" and it does not write messages logged by "log(<some-level>)". I researched this on the net and forums but I wasn't able to find anything else.

      This would help us investigate C++ driver issues like the one I've reported in "SERVER-9869 C++ driver crash when mongodb is shutdowned"

      Thanks,
      Daniel

            Assignee:
            Unassigned Unassigned
            Reporter:
            dtacalau Daniel Stefan Tacalau
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: