Skip to content

Commit

Permalink
Merge pull request #5728 from kiva/add-metadata-to-logs
Browse files Browse the repository at this point in the history
chore: add request/response metadata to logs
  • Loading branch information
hobbsh authored Dec 9, 2024
2 parents 0ab137e + 6aebdf0 commit 552ace7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/util/errorLogger.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export const requestLogger = expressWinston.logger({
stringify: true
})
],
meta: false,
requestWhitelist: ['url', 'responseTime', 'level', 'message', 'headers.host', 'headers.method'],
msg: 'HTTP {{res.statusCode}} {{req.method}} {{req.url}} {{res.responseTime}}ms',
ignoreRoute: req => {
Expand Down

0 comments on commit 552ace7

Please sign in to comment.