diff --git a/src/main.ts b/src/main.ts
index 5f6620aa88a5e96980f4e3fb58039c8e0ded4bde..a2c205c2befb952379d0ac94be1d0c6ad057d70d 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -4,7 +4,10 @@ import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger';
 import { AppModule } from './app.module';
 
 async function bootstrap() {
-  const app = await NestFactory.create(AppModule);
+  const app = await NestFactory.create(AppModule, {
+    logger:
+      process.env.NODE_ENV === 'production' ? ['error', 'warn', 'log'] : ['log', 'debug', 'error', 'verbose', 'warn'],
+  });
   app.useGlobalPipes(new ValidationPipe());
   const options = new DocumentBuilder()
     .setTitle(`Res'in`)