You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/general-config.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ appSync:
47
47
- `substitutions`: See [Substitutions](substitutions.md)
48
48
- `caching`: See [Cacing](caching.md)
49
49
- `waf`: See [Web Application Firefall](WAF.md)
50
-
- `log`: See [Logs](#Logs)
50
+
- `logging`: See [Logging](#Logging)
51
51
- `defaultMappingTemplates`:
52
52
- `request`: Optional. A default request mapping template filename for all resolvers.
53
53
- `response`: Optional. A default response mapping template filename for all resolvers.
@@ -176,17 +176,18 @@ Old-style descriptions (using `#`) are supported by AppSync but will be removed
176
176
177
177
Typescanimplementmultiple [interfaces](https://spec.graphql.org/October2021/#sec-Interfaces) using an ampersand `&` in GraphQL, but AppSync uses the old comma (`,`) separator. `&` is the only separator suported by this plugin, but it will automatically be replaced with a `,`.
178
178
179
-
## Logs
179
+
## Logging
180
180
181
181
```yaml
182
182
appSync:
183
183
name: my-api
184
-
log:
184
+
logging:
185
185
level: ERROR
186
-
logRetentionInDays: 14
186
+
retentionInDays: 14
187
187
```
188
188
189
189
- `level`: `ERROR`, `NONE`, or `ALL`
190
-
- `excludeVerboseContent`: Boolean. Exclude or not verbose content.
191
-
- `logRetentionInDays`: Number of days to retain the logs.
190
+
- `enabled`: Boolean, Optional. Defaults to `true` when `logging` is present.
191
+
- `excludeVerboseContent`: Boolean, Optional. Exclude or not verbose content (headers, response headers, context, and evaluated mapping templates), regardlessoffieldlogginglevel. Defaultsto `false`.
0 commit comments