Skip to content
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

Increases log_limit to 256k #101

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aldilop
Copy link

@aldilop aldilop commented Jul 20, 2023

Hello!

I'm needing bigger logs, so I added a layer increasing the log_limit in my app.
But, since Cloudwatch now allows logs up to 256kb (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/cloudwatch_limits_cwl.html), is there a chance this can be applied to the base layer?

Thanks from a fan!

@mnapoli
Copy link
Member

mnapoli commented Jul 22, 2023

Hi, have you been able to test these changes in Lambda?

@aldilop
Copy link
Author

aldilop commented Jul 23, 2023

Hi, the change works, in the sense that larger logs are exported intact from Lambda.
If the intended usage of these logs is the creation of metrics, it's kinda easier to do with JSON data, and in that case getting truncated logs makes data "disappear" from the metric.

The only thing is if some app is expecting log_limit to reduce their Cloudwatch (and $) usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants