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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;