Skip to content

Commit ea96773

Browse files
authored
Add API gateway logging (#189)
1 parent 85f78ed commit ea96773

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

DocumentsApi/serverless.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ provider:
99
tracing:
1010
apiGateway: true
1111
lambda: true
12+
logs:
13+
restApi:
14+
accessLogging: true
15+
executionLogging: true
16+
fullExecutionData: true
17+
level: INFO
1218
environment:
1319
CONNECTION_STRING: Host=${ssm:/documents-api/${self:provider.stage}/postgres-hostname};Port=${ssm:/documents-api/${self:provider.stage}/postgres-port};Database=${ssm:/documents-api/${self:provider.stage}/postgres-database};Username=${ssm:/documents-api/${self:provider.stage}/postgres-username};Password=${ssm:/documents-api/${self:provider.stage}/postgres-password}
1420
BUCKET_NAME: document-evidence-store-${self:provider.stage}-bucket

0 commit comments

Comments
 (0)