#Alibaba Cloud - Logs

Lets you watch the logs of a specific function.

serverless logs --function functionName


  • --function or -f The function you want to fetch the logs for. Required
  • --count or -c The number of logs to display.


#Retrieving logs

serverless logs --function functionName

This will display logs for the specified function.

Have questions?

Head over to the forums to search for your questions and issues or post a new one.