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

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i @ckho/serverless-api-gateway-execution-log-manager

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

10.9 kB

Total Files

6

Last publish

Collaborators

  • ckho