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

Include more of the command document when logging command execution

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.0
    • Component/s: Monitoring
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: