# Enable cloudwatch logs and access logs for Serverless api-gateway?

**URL:** <https://forum.serverless.com/t/enable-cloudwatch-logs-and-access-logs-for-serverless-api-gateway/3173>\
**Category:** Serverless Framework\
**Created:** [November 23, 2017, 2:34pm UTC](https://forum.serverless.com/t/enable-cloudwatch-logs-and-access-logs-for-serverless-api-gateway/3173 "2017-11-23T14:34:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ezeeetm](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/ezeeetm/32/947_2.png) [@ezeeetm](https://forum.serverless.com/u/ezeeetm)\
**Post date:** [November 23, 2017, 2:34pm UTC](https://forum.serverless.com/t/enable-cloudwatch-logs-and-access-logs-for-serverless-api-gateway/3173/1 "2017-11-23T14:34:02Z")

</div>

When we deploy a serverless function with an http: event type, serverless automatically deploys an API-gateway for us to handle this. However, this API-G does not have cwlogs or access logs enabled. What is the recommended first-class way to enable these two values only?

![Capture](https://canada1.discourse-cdn.com/flex036/uploads/serverless/original/2X/5/5141d0d58fff03b2148980f1be8acacb2c426ac1.PNG)

---

<div class="post-metadata">

**Author:** ![mrosett](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/mrosett/32/1342_2.png) [@mrosett](https://forum.serverless.com/u/mrosett)\
**Post date:** [November 28, 2017, 4:16pm UTC](https://forum.serverless.com/t/enable-cloudwatch-logs-and-access-logs-for-serverless-api-gateway/3173/2 "2017-11-28T16:16:06Z")

</div>

I’m curious about this as well. It looks like there are a couple other questions on this topic on the forum that haven’t been answered.

---

<div class="post-metadata">

**Author:** ![bill](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/bill/32/1072_2.png) [@bill](https://forum.serverless.com/u/bill)\
**Post date:** [November 28, 2017, 9:02pm UTC](https://forum.serverless.com/t/enable-cloudwatch-logs-and-access-logs-for-serverless-api-gateway/3173/3 "2017-11-28T21:02:49Z")

</div>

already asked by someone, following this issue: [https://github.com/serverless/serverless/issues/4461](https://github.com/serverless/serverless/issues/4461)

---

<div class="post-metadata">

**Author:** ![ezeeetm](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/ezeeetm/32/947_2.png) [@ezeeetm](https://forum.serverless.com/u/ezeeetm)\
**Post date:** [November 28, 2017, 9:33pm UTC](https://forum.serverless.com/t/enable-cloudwatch-logs-and-access-logs-for-serverless-api-gateway/3173/4 "2017-11-28T21:33:01Z")

</div>

@bill i see that it’s asked but do we have an answer defined? Reluctant to just +1 an old issue when this is pretty broken if there isn’t a canonical fix. Logging is table stakes…

---

<div class="post-metadata">

**Author:** ![bill](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/bill/32/1072_2.png) [@bill](https://forum.serverless.com/u/bill)\
**Post date:** [November 28, 2017, 11:11pm UTC](https://forum.serverless.com/t/enable-cloudwatch-logs-and-access-logs-for-serverless-api-gateway/3173/5 "2017-11-28T23:11:57Z")

</div>

Yes, and same feeling. I am also waiting for the reliable solution as well for this issue.
