Skip to content

Commit

Permalink
Switch Json logs for lambda server.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang committed Oct 21, 2024
1 parent 6655441 commit 4006799
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/_infra/src/serve/lambda.tiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export class LambdaTiler extends Construct {
architecture: lambda.Architecture.ARM_64,
environment,
logRetention: RetentionDays.ONE_MONTH,
logFormat: lambda.LogFormat.JSON,
});

this.functionUrl = new lambda.FunctionUrl(this, 'LambdaCogUrl', {
Expand Down

0 comments on commit 4006799

Please sign in to comment.