Skip to content

Commit fd345b9

Browse files
VIA-254 Tidy up APIM error logging
Error log contained a sizeable list of fields we don't need, use or that are duplicated elsewhere in the log message.
1 parent 15a2c7d commit fd345b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utils/logger.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ const REDACT_KEYS: string[] = [
2020
"clientAssertion",
2121
"client_assertion",
2222
"elidUri",
23+
"error.config.data",
24+
"error.request",
25+
"error.request._requestBodyBuffers",
2326
"idToken",
2427
"id_token",
2528
"iss",

0 commit comments

Comments
 (0)