mirror of
https://github.com/immich-app/immich.git
synced 2025-07-31 15:08:44 -04:00
fix: startup log level (#19885)
This commit is contained in:
parent
2b07d7ac63
commit
617a2f146d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user