Core/Logs: Allow to log startup logs into Database appender
Port From (https://github.com/TrinityCore/TrinityCore/commit/6303c7bcb1f1078fb036f10c97cab268f8261a4e)
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user