From 6aebdf0a0332e180a34907a5c2a5c4956f3b8207 Mon Sep 17 00:00:00 2001 From: Wylie Hobbs Date: Mon, 9 Dec 2024 09:50:12 -0700 Subject: [PATCH] chore: add request/response metadata to logs --- server/util/errorLogger.js | 1 - 1 file changed, 1 deletion(-) diff --git a/server/util/errorLogger.js b/server/util/errorLogger.js index e59bc849df..e007e77f18 100644 --- a/server/util/errorLogger.js +++ b/server/util/errorLogger.js @@ -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 => {