adyen-commercetools
adyen-commercetools copied to clipboard
logLevel parameter does not have any effect on "Extension Module Lambda Handler" (extension/index.lambda.js)
Is your feature request related to a problem? Please describe. Extension Module Lambda handler does not log any request, setting logLevel parameter to DEBUG or TRACE does not have any effect. We would like to monitor Request/Response and their content for our development processes. Same setting works for Notification Module Lambda handler and we can trace each request after enabling logLevel parameter.
Describe the solution you'd like We do see logging mechanic extension/src/api/payment/payment.controller.js Adding Request/Response logger also in extension/index.lambda.js would be a good improvement for development processes.
Describe alternatives you've considered
Additional context
Hey @kaplansin
Please note that we introduced debug logs into the extension/index.lambda.js. Now the payment object from the request and result after processing is logged as a debug log message. Changes will be included in our next release.
Best regards