-
Type: Question
-
Resolution: Done
-
Priority: 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