#✅ - How to see console logs from data/someFunction.js resolver?

4 messages · Page 1 of 1 (latest)

eager condor
#

How to see console logs from data/someFunction.js resolver?

fervent parrot
#

Used to only be able to see it in aws console cloudwatch. An update last week added streaming function logs in the console while you're running sandbox per https://docs.amplify.aws/react/build-a-backend/functions/streaming-logs/

npx ampx sandbox --stream-function-logs

You have make sure @aws-amplify/backend-cli is at least version 1.2.1, which is current as of about 8 days ago.

drifting crater
#

@fervent parrot the stream logs are for the Lambda functions. This is currently not supported for Data/AppSync resolver functions on Amplify. You can enable logs on the AppSync console and see the cloudwatch results for the resolver run on a query execution.

fallow sparrowBOT
#

✅ - How to see console logs from data/someFunction.js resolver?