Skip to content

Question: How do I log from a Lambda #52

@pparkkin

Description

@pparkkin

How can I output logs from my handler?

I have been able to create a Lambda using the runtime, and I can return responses that indicate that my handler is being called correctly.

In order to make it easier to develop and debug, I would like to be able to output logs into the CloudWatch logs for the Lambda. If I just do a putStrLn the output is not logged into the CloudWatch log group for the Lambda.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions