juanjoDiaz / serverless-plugin-warmup

Keep your lambdas warm during winter. ♨
MIT License
1.11k stars 114 forks source link

Feature request: add option to disable logs generated by the warmup lambda #299

Closed carlovsk closed 2 years ago

carlovsk commented 2 years ago

Hi there! First of all, I want to say that I really like this plugin, and it has been helping me to reduce lots of cold starts on some of the projects I've been working on.

But recently, I've been facing some extra costs related to some console.logs set up on the warmup lambda. The cost has been increasing as much as we deploy and create new environments.

I have three proposals to sort this out:

Either way, I believe the default behavior for this plugin shouldn't have any logs, and the first proposal seems to be the better one :smile:.

carlovsk commented 2 years ago

I am going to submit a PR for this issue.

juanjoDiaz commented 2 years ago

Took long enough but... feature added in v7.1.0

dalecampbell commented 2 years ago

@juanjoDiaz any plans to support this in a version that works with serverless v2?

Thanks