fix(Core/World): Load metric and log configs at start (#21243)
This commit is contained in:
@@ -171,11 +171,11 @@ void World::LoadConfigSettings(bool reload)
|
|||||||
LOG_ERROR("server.loading", "World settings reload fail: can't read settings.");
|
LOG_ERROR("server.loading", "World settings reload fail: can't read settings.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
sLog->LoadFromConfig();
|
|
||||||
sMetric->LoadFromConfigs();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sLog->LoadFromConfig();
|
||||||
|
sMetric->LoadFromConfigs();
|
||||||
|
|
||||||
// Set realm id and enable db logging
|
// Set realm id and enable db logging
|
||||||
sLog->SetRealmId(realm.Id.Realm);
|
sLog->SetRealmId(realm.Id.Realm);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user