1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00

fix(server): set log level of immich-admin process in boostrap function (#6458)

* fix(server): set log level of immich-admin process in boostrap function

* Remove log
This commit is contained in:
Alex 2024-01-17 15:47:46 -06:00 committed by GitHub
parent 6f291006e4
commit c55503496f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,8 +2,7 @@ import { LogLevel } from '@app/infra/entities';
import { CommandFactory } from 'nest-commander';
import { AppModule } from './app.module';
process.env.LOG_LEVEL = LogLevel.WARN;
export async function bootstrap() {
process.env.LOG_LEVEL = LogLevel.WARN;
await CommandFactory.run(AppModule);
}