diff options
author | jackpoz <giacomopoz@gmail.com> | 2019-06-06 14:39:29 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-10 22:49:10 +0100 |
commit | 6303c7bcb1f1078fb036f10c97cab268f8261a4e (patch) | |
tree | 0839c729af95693e2c6f418615c113a7a744c839 /src | |
parent | 88d5b91c050cc05b1de4c2e05810a193903146ff (diff) |
Core/Logs: Allow to log startup logs into Database appender
(cherry picked from commit dbd8b3fc63d1b218df755f34fd7185553f2db3a5)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/World/World.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/World/World.cpp b/src/server/game/World/World.cpp index 0d2ac5b4cf0..2756ca2afc4 100644 --- a/src/server/game/World/World.cpp +++ b/src/server/game/World/World.cpp @@ -1632,6 +1632,8 @@ void World::LoadConfigSettings(bool reload) /// Initialize the World void World::SetInitialWorldSettings() { + sLog->SetRealmId(realm.Id.Realm); + ///- Server startup begin uint32 startupBegin = getMSTime(); @@ -2418,8 +2420,6 @@ void World::SetInitialWorldSettings() TC_LOG_INFO("server.worldserver", "World initialized in %u minutes %u seconds", (startupDuration / 60000), ((startupDuration % 60000) / 1000)); TC_METRIC_EVENT("events", "World initialized", "World initialized in " + std::to_string(startupDuration / 60000) + " minutes " + std::to_string((startupDuration % 60000) / 1000) + " seconds"); - - sLog->SetRealmId(realm.Id.Realm); } void World::LoadAutobroadcasts() |