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

how to do additional logging in a transformation? #257

Open
refacktor opened this issue Nov 15, 2022 · 0 comments
Open

how to do additional logging in a transformation? #257

refacktor opened this issue Nov 15, 2022 · 0 comments

Comments

@refacktor
Copy link

I want to do some additional logging. Why doesn't this work?

exports.pouchdbServerlessHandler = serverless(app, {
    request(request, event, context) {
        console.log(request, event, context);
    },
    async response(response, event, context) {
        console.log(response, event, context);
    }
});

Expected result: I should see extra logs.

Actual result: No additional logs seen in CloudWatch.

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

No branches or pull requests

1 participant