From c55503496ff4245cb9f62f38148da4a3015e7a14 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 17 Jan 2024 15:47:46 -0600 Subject: [PATCH] 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 --- server/src/immich-admin/main.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); }