diff --git a/apps/api/src/config/configuration.ts b/apps/api/src/config/configuration.ts index 6dee37d3a..e2afe5afa 100644 --- a/apps/api/src/config/configuration.ts +++ b/apps/api/src/config/configuration.ts @@ -1,3 +1,5 @@ +import { SeverityLevel } from '@sentry/node' + /** * Be sure to add `process.env` vars in validation schema at ./validation.config.ts */ @@ -13,7 +15,7 @@ export default () => ({ environment: process.env.APP_ENV, debug: false, enabled: process.env.APP_ENV !== 'development', - logLevel: 'debug', + logLevels: ['error', 'warn'] as SeverityLevel[], tracesSampleRate: 1.0, }, sendgrid: {