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

Allow a configurable Mongo::Protocol::Query::LOG_STRING_LIMIT

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.1.0
    • Affects Version/s: None
    • Component/s: None
    • None

      In the Ruby driver, Mongo logs truncate after 250 characters due to the constant Mongo::Protocol::Query::LOG_STRING_LIMIT. This makes verbose logs in testing/staging environments very unhelpful. Since it's Ruby, we can override this constant, but it'd be nice to let us set this ourselves.

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            jonhyman Jon Hyman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: