shawnliujw / puppeteer-lambda

Module for using Headless-Chrome by Puppeteer on AWS Lambda.
MIT License
117 stars 20 forks source link

disable logs #28

Closed girotomas closed 5 years ago

girotomas commented 5 years ago

Could we have an option to disable the logs? They are a bit expensive in AWS lambda Thank you

shawnliujw commented 5 years ago

@girotomas now there won't be any logs as default , if you need them , you can set process.env.DEBUG=true, then all logs will appear, include the puppeteer logs