Logging for DELETE - ActoKids/api GitHub Wiki
Log relevant information to CloudWatch for DELETE. Here is how we are implementing logging:
- log start and end of lambda
- log eventID parameter from DELETE call
- log in try catch for error and success
- console.error() for errors
- console.log() for non-errors
These can not be viewed on CloudWatch as of now because of permission problems with out school AWS account.
Here is the branch to view logging implementation