Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logLevel parameter does not have any effect on "Extension Module Lambda Handler" (extension/index.lambda.js) #1161

Closed
kaplansin opened this issue Apr 26, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@kaplansin
Copy link

kaplansin commented Apr 26, 2024

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

@kaplansin kaplansin added the enhancement New feature or request label Apr 26, 2024
@kaplansin kaplansin changed the title logLevel parameter does not have any effect on "Extension Module Lambda Handler" logLevel parameter does not have any effect on "Extension Module Lambda Handler" (extension/index.lambda.js) Apr 26, 2024
@logeecom
Copy link
Contributor

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

@logeecom
Copy link
Contributor

logeecom commented May 8, 2024

Hello @kaplansin,

Note that we’ve released a new version of the integration.

Kind regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants