fix(Core/World): Load metric and log configs at start (#21243)

This commit is contained in:
iThorgrim 2025-02-15 23:34:25 +01:00 committed by GitHub
parent 971ebcae31
commit e3432102f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -171,11 +171,11 @@ void World::LoadConfigSettings(bool reload)
LOG_ERROR("server.loading", "World settings reload fail: can't read settings.");
return;
}
sLog->LoadFromConfig();
sMetric->LoadFromConfigs();
}
sLog->LoadFromConfig();
sMetric->LoadFromConfigs();
// Set realm id and enable db logging
sLog->SetRealmId(realm.Id.Realm);