# Follow logs in real-time
tail -f lambda/sam-local.log
# View recent logs
tail -50 lambda/sam-local.log
# View all logs
cat lambda/sam-local.log- Update Lambda code in
stela - Rebuild Lambda image:
docker compose up -d --build <LAMBDA_BUILDER - Restart SAM Local (
./stop-sam-local.shand re-run./start-sam-local.sh --detach) - Test changes
Add your lambda to the SAM template.