Runtime Logs¶
How to tail on AWS logs¶
-
Install AWS CLI
-
Run this command and fill-in the following parameters (leave the others to their defaults) which will prompt you to log in using your
@visualli.aiemail address.aws configure sso
SSO session name (Recommended):debugger
SSO start URL [None]:https://visualli.awsapps.com/start
SSO region [None]:eu-west-1
Profile name [debugger-339518257814]:debugger -
Run this command to list down all log groups that exist within AWS.
aws logs describe-log-groups --profile debugger -
Now, tail the lambda logs associated with
dev.- For
AI-Engine:aws logs tail /aws/lambda/visualli-ai-engine-dev-app --profile debugger --follow - For
Backend:aws logs tail /aws/lambda/visualli-backend-dev-app --profile debugger --follow
- For
-
In case the session expires, run this command to log in again.
aws sso login --profile debugger