docs(AWS API Gateway): Update how to disable access and execution logs

This commit is contained in:
Mark Tse 2021-03-22 06:19:35 -04:00 committed by GitHub
parent 89b813da51
commit f4a76f779b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1797,7 +1797,7 @@ provider:
Valid values are INFO, ERROR.
If you want to disable access logging completely you can do with the following:
The existence of the `logs` property enables both access and execution logging. If you want to disable one or both of them, you can do so with the following:
```yml
# serverless.yml
@ -1805,7 +1805,8 @@ provider:
name: aws
logs:
restApi:
accessLogging: true
accessLogging: false
executionLogging: false
```
By default, the full requests and responses data will be logged. If you want to disable like so: