Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2698

Include more of the command document when logging command execution

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.0
    • Affects Version/s: None
    • Component/s: Monitoring
    • None

      Currently the logging of a command looks like this:

      Sending command {find : BsonString{value='mycoll'}}
      

      which makes it more difficult than necessary to determine the contents of the command. Instead, the driver should log a fixed number of characters from the relaxed extended JSON representation of the command:

      Sending command {"find" : "myColl", filter : { "open" : true }, lim...
      

      Suggested character count: 100

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: