diff --git a/packages/sui-logger/src/server.js b/packages/sui-logger/src/server.js index 7f213e351..f0585b16e 100644 --- a/packages/sui-logger/src/server.js +++ b/packages/sui-logger/src/server.js @@ -41,9 +41,10 @@ export const logErrorsMiddleware = (Trackers, error, req, res, next) => { next(error) } -export const createServerLogger = ({req, userId, trackerName} = {}) => { +export const createServerLogger = ({Trackers, req, userId, trackerName} = {}) => { return createLogger({ ...extractFrom(req), + Trackers, listenUnhandled: createListenUnhandled(), userId, trackerName