serverless-http icon indicating copy to clipboard operation
serverless-http copied to clipboard

Double logging since v3.1.1

Open zoellner opened this issue 2 years ago • 1 comments

This PR in https://github.com/dougmoscrop/serverless-http/pull/263 seems to have had a probably unintended side effect: I am using serverless-http with express and the logger pino-http. Starting at [email protected] I am seeing all request logs getting logged twice. I added a super minimal demo project here to show the issue: https://github.com/zoellner/serverless-http-pino-bug

Originally posted by @zoellner in https://github.com/dougmoscrop/serverless-http/issues/263#issuecomment-1608239466

zoellner avatar Jun 29 '23 14:06 zoellner

same issue, thnx @zoellner for troubleshooting, downgraded to 3.1

BTW: can anyone point me out why pino logs request aborted instead of completed?

shftlvch avatar Dec 24 '23 15:12 shftlvch