Skip to content

Commit

Permalink
reduce logging level to 'info' in AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetto committed Nov 8, 2024
1 parent d152d74 commit 691f76c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions infrastructure/collection-api/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,11 @@ class CollectionAPI extends TerraformStack {
name: 'OTLP_COLLECTOR_URL',
value: config.tracing.url,
},
{
name: 'LOG_LEVEL',
// do not log http, graphql, or debug events
value: 'info',
},
],
logGroup: this.createCustomLogGroup('app'),
logMultilinePattern: '^\\S.+',
Expand Down

0 comments on commit 691f76c

Please sign in to comment.