Allow monitoring API logs with "serverless logs"
HyperBrain opened this issue · comments
Frank Schmid commented
Now that APIG stage logs can be enabled, it would be very useful, if the "serverless logs" command could show these logs too. This would add the same convinience as for function logs.
Proposal
Add an --api
switch to the command, that can be used instead of --function
.
Samples
serverless logs --api --alias=myAlias --stage=dev --tail
serverless logs --api --stage=dev --tail
serverless logs --function=myFunc --alias=myAlias --stage=dev --tail
Frank Schmid commented
Please vote for this feature by adding a reaction to the top feature description. The more positive reactions, the higher I will prioritize it