-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
serverless logs stopped working #7214
serverless logs stopped working #7214
Comments
@charlieongithub thanks for report. I assume it could be related to fact that function with configured provisioned concurrency is invoked against Nonetheless it's a bug in a framework, we should with such configuration look for logs in PR's with fix welcome |
I've made a PR that fixes it. I noticed that all logs are actually fetched from AWS. But, for some reason, only logs with https://github.com/serverless/serverless/blob/master/lib/plugins/aws/logs/index.js#L55 When using the provisioned concurrency option, logs are sometimes shown with not The reason why the mentioned line exists is misty to me. So, I created a PR that removes it. |
Bug Report
sls logs -f functionName -t
stopped working after upgrade to1.61.0
from1.57.0
Description
I've upgraded the serverless framework today and since then I don't see any output coming out of the
sls logs
command. It is just hanging in there. I can however see the logs on CloudWatch directly.I've upgraded the serverless framework today.
I didn't change any configuration in my serverless.yml other than configuring
provisionedConcurrency: 5
What happened?
Since then I don't see any output coming out from the
sls logs
command. It is just hanging in there.What should've happened?
The latest logs from AWS Lambda should appear in the console
serverless.yml
file?The text was updated successfully, but these errors were encountered: