aws-samples / amazon-rekognition-video-analyzer

A working prototype for capturing frames off of a live MJPEG video stream, identifying objects in near real-time using deep learning, and triggering actions based on an objects watch list.
Other
367 stars 157 forks source link

Where do Lambda Functions print to? #34

Closed jaweiss8 closed 6 years ago

jaweiss8 commented 6 years ago

I'm curious to see the content of the Rekognition JSON response. I've noticed that there are a few print statements in imageprocessor.py--where do these print to? For example line 146: print("Successfully published alert message to SNS.") Where can I see this output?

If I know the location, I can simply print out the contents of the Rekognition response.

moanany commented 6 years ago

Hello,

The logging statements are streamed into CloudWatch logs for the particular lambda function. More details here: https://docs.aws.amazon.com/lambda/latest/dg/python-logging.html#python-logging-finding-logs

Thanks, Moataz