mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01: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:
parent
6f291006e4
commit
c55503496f
1 changed files with 1 additions and 2 deletions
|
@ -2,8 +2,7 @@ import { LogLevel } from '@app/infra/entities';
|
||||||
import { CommandFactory } from 'nest-commander';
|
import { CommandFactory } from 'nest-commander';
|
||||||
import { AppModule } from './app.module';
|
import { AppModule } from './app.module';
|
||||||
|
|
||||||
process.env.LOG_LEVEL = LogLevel.WARN;
|
|
||||||
|
|
||||||
export async function bootstrap() {
|
export async function bootstrap() {
|
||||||
|
process.env.LOG_LEVEL = LogLevel.WARN;
|
||||||
await CommandFactory.run(AppModule);
|
await CommandFactory.run(AppModule);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue