Core/Logs: Allow to log startup logs into Database appender

Port From (https://github.com/TrinityCore/TrinityCore/commit/6303c7bcb1f1078fb036f10c97cab268f8261a4e)
This commit is contained in:
hondacrx
2021-12-17 17:42:36 -05:00
parent 5caa50ad4b
commit f1bfc12b9d
+2 -2
View File
@@ -366,6 +366,8 @@ namespace Game
{ {
LoadRealmInfo(); LoadRealmInfo();
Log.SetRealmId(_realm.Id.Index);
LoadConfigSettings(); LoadConfigSettings();
// Initialize Allowed Security Level // Initialize Allowed Security Level
@@ -1094,8 +1096,6 @@ namespace Game
} }
}); });
} }
Log.SetRealmId(_realm.Id.Index);
} }
public void LoadConfigSettings(bool reload = false) public void LoadConfigSettings(bool reload = false)