dougmoscrop/serverless-http

Double logging since v3.1.1

Opened this issue · 1 comments

This PR in #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 #263 (comment)

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

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