diff --git a/src/main.ts b/src/main.ts index 29d0deb..485af76 100644 --- a/src/main.ts +++ b/src/main.ts @@ -7,7 +7,10 @@ import { CustomResponseTransformInterceptor } from './common/customResponse' import { setDefaults } from './common/dayjs' async function bootstrap() { - const app = await NestFactory.create(AppModule, { abortOnError: false }) + const app = await NestFactory.create(AppModule, { + abortOnError: false, + logger: ['error', 'warn', 'log'], + }) const config = app.get(ConfigService) const port = config.get('PORT', 3000) app.enableShutdownHooks()