diff --git a/server/src/immich-admin/main.ts b/server/src/immich-admin/main.ts index 73ee4ed3f4..f14aac20f8 100755 --- a/server/src/immich-admin/main.ts +++ b/server/src/immich-admin/main.ts @@ -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); }