Skip to content

feat(session): log Meraki X-Request-Id on 5xx responses#420

Open
pdayboch-cisco wants to merge 1 commit into
meraki:mainfrom
pdayboch-cisco:feature/log-x-request-id-on-5xx
Open

feat(session): log Meraki X-Request-Id on 5xx responses#420
pdayboch-cisco wants to merge 1 commit into
meraki:mainfrom
pdayboch-cisco:feature/log-x-request-id-on-5xx

Conversation

@pdayboch-cisco

Copy link
Copy Markdown

When a 5xx response is received, the sync and async REST sessions now log the Meraki X-Request-Id response header so users can hand it to Meraki to look up the request in server-side logs. The id is included in the per-retry warning and, once retries are exhausted, logged at error level. When the header is absent, "none" is logged in its place to aid debugging.

When a 5xx response is received, the sync and async REST sessions now log
the Meraki X-Request-Id response header so users can hand it to Meraki to
look up the request in server-side logs. The id is included in the
per-retry warning and, once retries are exhausted, logged at error level.
When the header is absent, "none" is logged in its place to aid debugging.
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.

1 participant