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

LoggingCommandEventSender should allow log length to be configurable

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Monitoring
    • Labels:
      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

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

              Dates

              Created:
              Updated: