[DECO-102] Setup logging infra - #117
Merged
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelist
Field Name Based Redaction
{ "level": "debug", "message": "https://adb-309687753508875.15.azuredatabricks.net/api/2.0/clusters/list?can_use_client=", "operationId": "7f717111-1094-41a8-85df-4b410a01a250", "operationName": "ApiClient.request", "request": { "agent": { "_events": {}, "_eventsCount": 2, "_sessionCache": { "list": [], "map": {} }, "defaultPort": 443, "freeSockets": {}, "keepAlive": true, "keepAliveMsecs": 15000, "maxCachedSessions": 100, "maxFreeSockets": 256, "maxSockets": null, "maxTotalSockets": null, "options": { "keepAlive": true, "keepAliveMsecs": 15000, "path": null }, "protocol": "https:", "requests": {}, "scheduling": "lifo", "sockets": {}, "totalSocketCount": 0 }, "headers": { "Authorization": "***REDACTED***", "Content-Type": "text/json", "User-Agent": "vscode-extension/0.0.1 databricks-sdk-js/0.0.1 nodejs/16.14.2 os/darwin" }, "method": "GET" }, "timestamp": 1665129651838 }Dropping headers and agent field based on DATABRICKS_DEBUG_HEADERS flag
{ "level": "debug", "message": "https://adb-309687753508875.15.azuredatabricks.net/api/2.0/preview/scim/v2/Me", "operationId": "bbda1f1d-5177-4089-8dc2-b058c64eef1e", "operationName": "ApiClient.request", "request": { "method": "GET" }, "timestamp": 1665129913774 }Field truncation based on DATABRICKS_DEBUG_TRUNCATE_BYTES flag
This is only for representation with field length 20
{ "level": "debug", "message": "https://adb-309687753508875.15.azuredatabricks.net/api/2.0/preview/scim/v2/Me", "operationId": "ab3f24aa-e904-4bdc-8cac-6c0c8236fba4", "operationName": "ApiClient.request", "response": { "active": true, "emails": [ { "primary": true, "type": "work" } ], "externalId": "471d1718-d938-4b13-9...(16 more bytes)", "groups": [ { "$ref": "Groups/7373105599507...(2 more bytes)", "display": "admins", "type": "direct", "value": "737310559950744" } ], "id": "4183391249163402", "schemas": [ "urn:ietf:params:scim...(22 more bytes)", "urn:ietf:params:scim...(53 more bytes)" ] }, "timestamp": 1665131138427 }