You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
serverless logs --function=XXXX --alias=XXXX will only show the logs of the currently deployed function version. In case you want to compare the current logs with logs from versions that had been deployed previously, they will not be accessible with the command, but only with the AWS CW console. The old function logs normally are kept until the CW logs expiration is triggered.
This could be solved with a --version switch, that lets you select a specific version of the logs to show.
E.g. serverless logs --function=myFunc --version=130 would show the myFunc logs of version 130.
The text was updated successfully, but these errors were encountered:
serverless logs --function=XXXX --alias=XXXX
will only show the logs of the currently deployed function version. In case you want to compare the current logs with logs from versions that had been deployed previously, they will not be accessible with the command, but only with the AWS CW console. The old function logs normally are kept until the CW logs expiration is triggered.This could be solved with a
--version
switch, that lets you select a specific version of the logs to show.E.g.
serverless logs --function=myFunc --version=130
would show the myFunc logs of version 130.The text was updated successfully, but these errors were encountered: