Open zoellner opened 1 year ago
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 serverless-http@3.1.1 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
same issue, thnx @zoellner for troubleshooting, downgraded to 3.1
BTW: can anyone point me out why pino logs request aborted instead of completed?
request aborted
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 serverless-http@3.1.1 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