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

LoggingCommandEventSender should allow log length to be configurable

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Monitoring
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: