Skip to content
This repository was archived by the owner on Aug 13, 2026. It is now read-only.

Commit 7a7cfc4

Browse files
author
christopherholland-workday
committed
Update logger.ts
1 parent 1b4b23f commit 7a7cfc4

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎packages/server/src/utils/logger.ts‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@ export function expressRequestLogger(req: Request, res: Response, next: NextFunc
133133
return requetsEmojis[method] || '?'
134134
}
135135

136-
// Intentionally omit `requestMetadata` from these calls: it carries body, query,
137-
// and headers (including passwords, reset tokens, and session cookies) that must
138-
// not reach log files. The sanitization helpers above are kept in place so this
139-
// can be patched later once they are made safe.
140136
if (req.method !== 'GET') {
141137
requestLogger.info(`${getRequestEmoji(req.method)} ${req.method} ${req.url}`)
142138
logger.info(`${getRequestEmoji(req.method)} ${req.method} ${req.url}`)

0 commit comments

Comments
 (0)