added logs to main
This commit is contained in:
parent
6730b4457a
commit
f9f59f9c95
@ -8,7 +8,7 @@ import { JwtService } from '@nestjs/jwt';
|
|||||||
import { RolesGuard } from './common/guards/roles.guard';
|
import { RolesGuard } from './common/guards/roles.guard';
|
||||||
|
|
||||||
async function bootstrap() {
|
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);
|
const configService = app.get(ConfigService);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user