1.1.0 • Published 3 years ago

@ckho/serverless-api-gateway-execution-log-manager v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

serverless-api-gateway-execution-log-manager

serverless license build status npm version

This Serverless Framework plugin manages the API Gateway execution log groups automatically created in CloudWatch when execution logging is enabled in serverless.yml. When enabling these logs, API Gateway automatically creates a CloudWatch log group named API-Gateway-Execution-Logs_[uniqueId]/[stage]. This log group is not part of the CloudFormation stack deployed by Serverless Framework.

Installation

npm install serverless-api-gateway-execution-log-manager --save-dev

Usage

Add the following to your serverless.yml:

Add the following to your serverless.yml:

plugins:
  - serverless-api-gateway-execution-log-manager
  
provider:
  logs:
    restApi:
      level: INFO
      executionLogging: true      
      fullExecutionData: true

This plugin does not have any configuration options (yet).