eduardo3g / twitter

A serverless Twitter built with some cool stuff, such as the Serverless Framework, AppSync (GraphQL), Lambda, DynamoDB, Cognito, Kinesis Firehose, and Algolia ☁️
MIT License
42 stars 6 forks source link

feat: switch AppSync Log Level via cron job #20

Closed eduardo3g closed 2 years ago

eduardo3g commented 2 years ago

Configured a Lambda function triggered by a cron job (EventBridge Events) that switches AppSync's log level between ALL and ERROR. This way is possible to have the full request log (logLevel: ALL) 10% of the time.