Skip to content

Commit

Permalink
chore: add request/response metadata to logs
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbsh committed Dec 9, 2024
1 parent 87646a5 commit 6aebdf0
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 6aebdf0

Please sign in to comment.