Increases log_limit to 256k
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!
Hi, have you been able to test these changes in Lambda?
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.