Clarify logging truncation: Unicode code point safety and naive JSON are separate concerns

XMLWordPrintableJSON

    • Type: Spec Change
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Component/s: Logging
    • None
    • Needed
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-6332 Blocked
      CXX-3494 Blocked
      CSHARP-6045 Blocked
      GODRIVER-3910 Blocked
      JAVA-6204 Blocked
      NODE-7584 Blocked
      PYTHON-5827 Blocked
      PHPLIB-1852 Blocked
      RUBY-3879 Blocked
      RUST-2427 Blocked
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } #scriptField td.willNotDo { background-color: #FF0000; /* Red color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-6332 Blocked CXX-3494 Blocked CSHARP-6045 Blocked GODRIVER-3910 Blocked JAVA-6204 Blocked NODE-7584 Blocked PYTHON-5827 Blocked PHPLIB-1852 Blocked RUBY-3879 Blocked RUST-2427 Blocked

      Summary

      The truncation section placed "MUST handle gracefully" (Unicode code points) and "MUST implement naively" (JSON structure) in the same sentence, making them appear contradictory. Rewrite to make clear they apply to different concerns.

      Motivation

      Who is the affected end user?

      Driver authors implementing logging truncation.

      Is this issue urgent?

      No.

      Is this ticket only for tests?

      No — spec text clarification.

      Acceptance Criteria

      PR merged: https://github.com/mongodb/specifications/pull/1937

            Assignee:
            Jérôme Tamarelle
            Reporter:
            Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: