added logs to main
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ import { JwtService } from '@nestjs/jwt';
|
||||
import { RolesGuard } from './common/guards/roles.guard';
|
||||
|
||||
async function bootstrap() {
|
||||
const app = await NestFactory.create(AppModule);
|
||||
const app = await NestFactory.create(AppModule, {logger: ["error", "warn", "log", "debug", "verbose"]});
|
||||
|
||||
const configService = app.get(ConfigService);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user