Skip to content

Improve mitm logs#720

Merged
alexh-sauce merged 4 commits intomainfrom
mmt/response_written_hook
Feb 26, 2024
Merged

Improve mitm logs#720
alexh-sauce merged 4 commits intomainfrom
mmt/response_written_hook

Conversation

@mmatczuk
Copy link
Contributor

No description provided.

This enables TraceID in mitm logs

2024/02/23 11:33:25.216092 [proxy] [DEBUG] [1-0edeb4d8] mitm: attempting MITM for connection incoming.telemetry.mozilla.org:443
2024/02/23 11:33:25.216611 [proxy] [DEBUG] [1-0edeb4d8] wrote response duration=610.25µs
2024/02/23 11:33:25.218678 [proxy] [DEBUG] [1-0edeb4d8] mitm: cache miss for incoming.telemetry.mozilla.org
2024/02/23 11:33:25.224130 [proxy] [DEBUG] accepted connection from 127.0.0.1:61247
2024/02/23 11:33:25.224316 [proxy] [DEBUG] [2-0f5d1850] mitm: attempting MITM for connection incoming.telemetry.mozilla.org:443
2024/02/23 11:33:25.224395 [proxy] [DEBUG] [2-0f5d1850] wrote response duration=116.834µs
2024/02/23 11:33:25.226382 [proxy] [DEBUG] [2-0f5d1850] mitm: cache hit for incoming.telemetry.mozilla.org
2024/02/23 11:33:25.233130 [proxy] [DEBUG] [1-0edeb4d8] mitm: negotiated http/1.1 for connection: incoming.telemetry.mozilla.org:443
2024/02/23 11:33:25.233427 [proxy] [DEBUG] [3-0fe81a40] received POST request: //incoming.telemetry.mozilla.org/submit/activity-stream/sessions/1/45fab960-53fb-4767-96a1-cef2ab62fa8d
2024/02/23 11:33:25.239158 [proxy] [DEBUG] [2-0f5d1850] mitm: negotiated http/1.1 for connection: incoming.telemetry.mozilla.org:443
2024/02/23 11:33:25.239287 [proxy] [DEBUG] [4-1041e2a0] received POST request: //incoming.telemetry.mozilla.org/submit/firefox-desktop/baseline/1/825ff493-0786-4550-b5fd-c2f3b9f5e628
2024/02/23 11:33:25.547372 [proxy] [DEBUG] [3-0fe81a40] wrote response duration=313.952958ms
2024/02/23 11:33:25.564901 [proxy] [DEBUG] [4-1041e2a0] wrote response duration=325.612667ms
2024/02/23 11:33:32.863614 [proxy] [DEBUG] accepted connection from 127.0.0.1:61253
@mmatczuk mmatczuk requested a review from Choraden as a code owner February 26, 2024 13:33
@alexh-sauce alexh-sauce merged commit 50565c9 into main Feb 26, 2024
@alexh-sauce alexh-sauce deleted the mmt/response_written_hook branch February 26, 2024 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants