1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-08 23:07:06 +02:00

fix: startup log level (#19885)

This commit is contained in:
Jason Rasmussen
2025-07-11 11:22:38 -04:00
committed by GitHub
parent 2b07d7ac63
commit 617a2f146d

View File

@ -27,7 +27,7 @@ export class SystemConfigService extends BaseService {
return mapConfig(defaults);
}
@OnEvent({ name: 'config.init' })
@OnEvent({ name: 'config.init', priority: -100 })
onConfigInit({ newConfig: { logging } }: ArgOf<'config.init'>) {
const { logLevel: envLevel } = this.configRepository.getEnv();
const configLevel = logging.enabled ? logging.level : false;