Bypass auth check when logging "ClientCursor::yield can't unlock" message

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 2.3.2
    • Affects Version/s: 2.0.2
    • Component/s: Logging, Security
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When auth is enabled, certain log operations aren't as informative as they might be. For example, the warning about not yielding because the recursive lock is held tries to get the current op's info, which is only available to threads authenticated to the admin db, so the warning message reports 'top:

      { err : "unauthorized" }

      '.

      So maybe log messages should make a practice of bypassing auth checks of this sort, so long as we're only sending log output to files and other things that only ops folks can get at.

            Assignee:
            Spencer Brody (Inactive)
            Reporter:
            Richard Kreuter (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: