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

LoggingCommandEventSender should allow log length to be configurable

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

      LoggingCommandEventSender allows logging for commands. However, those commands can be truncated if the document is longer than 1000 characters. This value is hardcoded. It would be helpful to be able to configure it with the possibility to have a "no limit" value.

      The limit comes from the commit https://github.com/mongodb/mongo-java-driver/commit/a93299f7a9a18e9febabfd8445a24af0f8a8c194 which was implemented for https://jira.mongodb.org/browse/JAVA-2698

            Assignee:
            Unassigned Unassigned
            Reporter:
            maxime.carbonneauleclerc@bell.ca Maxime Carbonneau-Leclerc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: