# Single log stream for API Gateway

**URL:** <https://forum.serverless.com/t/single-log-stream-for-api-gateway/11540>\
**Category:** Serverless Framework\
**Tags:** lambda, api-gateway\
**Created:** [May 24, 2020, 12:57pm UTC](https://forum.serverless.com/t/single-log-stream-for-api-gateway/11540 "2020-05-24T12:57:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![khinester](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/khinester/32/315_2.png) [@khinester](https://forum.serverless.com/u/khinester)\
**Post date:** [May 24, 2020, 12:57pm UTC](https://forum.serverless.com/t/single-log-stream-for-api-gateway/11540/1 "2020-05-24T12:57:08Z")

</div>

Hello,  
I here is part of my serverless.yml:

```auto
provider:
  timeout: 30
  name: aws
  runtime: nodejs10.x
  memorySize: 256
  profile: ej
  stage: dev
  region: eu-west-1
  apiKeys:
    - ${opt:stage}-esProxy
  logRetentionInDays: 14
  logs:
    restApi: true
    role: arn:aws:iam::#{AWS::AccountId}:role/api-gateway-role
  tracing:
    apiGateway: true

```

i have enabled the `logs` and this sends logs into cloudwatch single log group, but then it writes many log streams.

is there a way to configure and set the log stream to write this into?

any advice is much appreciated
