Skip to content

ckho-wkcda/serverless-api-gateway-execution-log-manager

 
 

Repository files navigation

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).

About

Serverless Framework plugin that manages the API Gateway execution log groups created when execution logging is enabled

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 91.7%
  • JavaScript 8.3%