Closed Bug 1936296 Opened 2 months ago Closed 2 months ago

[EWS] Log response status code, and don't log payloads by default

Categories

(Thunderbird :: Account Manager, task)

Thunderbird 135

Tracking

(Not tracked)

RESOLVED FIXED
135 Branch

People

(Reporter: babolivier, Assigned: babolivier)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

This bug tracks two follow-up improvements to the protocol logging work that was done in bug 227034 (and will be implemented simultaneously):

  • Including the response's status code when logging an operation response
  • Gate the logging of raw request/response bodies behind an environment variable (e.g. THUNDERBIRD_LOG_NETWORK_PAYLOADS) so they're not lumped into the more generic logging (since they might include sensitive data)
Assignee: nobody → brendan
Status: NEW → ASSIGNED
Component: Menus → Account Manager
Product: Firefox → Thunderbird
Target Milestone: --- → 135 Branch
Version: unspecified → Thunderbird 135
Depends on: 1916658
No longer depends on: 227034
Blocks: 1936555
Attachment #9442699 - Attachment description: Bug 1936296 - Log response status code, and don't log payloads by default. r=leftmostcat → Bug 1936296 - Log EWS response status code. r=leftmostcat

This was initially included in https://phabricator.services.mozilla.com/D231690,
where it got a passing functional review, but was then split out because there
was a disagreement over whether this was a good idea. See that revision for the
previous discussion.

Pushed by heather@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/f90ab8530d20
Log EWS response status code. r=leftmostcat,mkmelin,tobyp

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/86a81654e9e7
Only log EWS request/response bodies when requested. r=leftmostcat

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: