mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-02 02:23:49 +00:00
fix and bringing to a unified style warnings of server loading logs to be more visible at server startup (#10970)
This commit is contained in:
@@ -43,7 +43,7 @@ void LootItemStorage::LoadStorageFromDB()
|
||||
PreparedQueryResult result = CharacterDatabase.Query(stmt);
|
||||
if (!result)
|
||||
{
|
||||
LOG_INFO("server.loading", ">> Loaded 0 stored items!");
|
||||
LOG_WARN("server.loading", ">> Loaded 0 stored items!");
|
||||
LOG_INFO("server.loading", " ");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1923,7 +1923,7 @@ void LoadLootTemplates_Creature()
|
||||
if (count)
|
||||
LOG_INFO("server.loading", ">> Loaded {} creature loot templates in {} ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
LOG_ERROR("sql.sql", ">> Loaded 0 creature loot templates. DB table `creature_loot_template` is empty");
|
||||
LOG_WARN("server.loading", ">> Loaded 0 creature loot templates. DB table `creature_loot_template` is empty");
|
||||
|
||||
LOG_INFO("server.loading", " ");
|
||||
}
|
||||
@@ -1958,7 +1958,7 @@ void LoadLootTemplates_Disenchant()
|
||||
if (count)
|
||||
LOG_INFO("server.loading", ">> Loaded {} disenchanting loot templates in {} ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
LOG_ERROR("sql.sql", ">> Loaded 0 disenchanting loot templates. DB table `disenchant_loot_template` is empty");
|
||||
LOG_WARN("server.loading", ">> Loaded 0 disenchanting loot templates. DB table `disenchant_loot_template` is empty");
|
||||
LOG_INFO("server.loading", " ");
|
||||
}
|
||||
|
||||
@@ -1983,7 +1983,7 @@ void LoadLootTemplates_Fishing()
|
||||
if (count)
|
||||
LOG_INFO("server.loading", ">> Loaded {} fishing loot templates in {} ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
LOG_ERROR("sql.sql", ">> Loaded 0 fishing loot templates. DB table `fishing_loot_template` is empty");
|
||||
LOG_WARN("server.loading", ">> Loaded 0 fishing loot templates. DB table `fishing_loot_template` is empty");
|
||||
|
||||
LOG_INFO("server.loading", " ");
|
||||
}
|
||||
@@ -2019,7 +2019,7 @@ void LoadLootTemplates_Gameobject()
|
||||
if (count)
|
||||
LOG_INFO("server.loading", ">> Loaded {} gameobject loot templates in {} ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
LOG_ERROR("sql.sql", ">> Loaded 0 gameobject loot templates. DB table `gameobject_loot_template` is empty");
|
||||
LOG_WARN("server.loading", ">> Loaded 0 gameobject loot templates. DB table `gameobject_loot_template` is empty");
|
||||
|
||||
LOG_INFO("server.loading", " ");
|
||||
}
|
||||
@@ -2045,7 +2045,7 @@ void LoadLootTemplates_Item()
|
||||
if (count)
|
||||
LOG_INFO("server.loading", ">> Loaded {} item loot templates in {} ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
LOG_ERROR("sql.sql", ">> Loaded 0 item loot templates. DB table `item_loot_template` is empty");
|
||||
LOG_WARN("server.loading", ">> Loaded 0 item loot templates. DB table `item_loot_template` is empty");
|
||||
|
||||
LOG_INFO("server.loading", " ");
|
||||
}
|
||||
@@ -2076,7 +2076,7 @@ void LoadLootTemplates_Milling()
|
||||
if (count)
|
||||
LOG_INFO("server.loading", ">> Loaded {} milling loot templates in {} ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
LOG_ERROR("sql.sql", ">> Loaded 0 milling loot templates. DB table `milling_loot_template` is empty");
|
||||
LOG_WARN("server.loading", ">> Loaded 0 milling loot templates. DB table `milling_loot_template` is empty");
|
||||
|
||||
LOG_INFO("server.loading", " ");
|
||||
}
|
||||
@@ -2112,7 +2112,7 @@ void LoadLootTemplates_Pickpocketing()
|
||||
if (count)
|
||||
LOG_INFO("server.loading", ">> Loaded {} pickpocketing loot templates in {} ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
LOG_ERROR("sql.sql", ">> Loaded 0 pickpocketing loot templates. DB table `pickpocketing_loot_template` is empty");
|
||||
LOG_WARN("server.loading", ">> Loaded 0 pickpocketing loot templates. DB table `pickpocketing_loot_template` is empty");
|
||||
|
||||
LOG_INFO("server.loading", " ");
|
||||
}
|
||||
@@ -2143,7 +2143,7 @@ void LoadLootTemplates_Prospecting()
|
||||
if (count)
|
||||
LOG_INFO("server.loading", ">> Loaded {} prospecting loot templates in {} ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
LOG_ERROR("sql.sql", ">> Loaded 0 prospecting loot templates. DB table `prospecting_loot_template` is empty");
|
||||
LOG_WARN("server.loading", ">> Loaded 0 prospecting loot templates. DB table `prospecting_loot_template` is empty");
|
||||
|
||||
LOG_INFO("server.loading", " ");
|
||||
}
|
||||
@@ -2169,7 +2169,7 @@ void LoadLootTemplates_Mail()
|
||||
if (count)
|
||||
LOG_INFO("server.loading", ">> Loaded {} mail loot templates in {} ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
LOG_ERROR("sql.sql", ">> Loaded 0 mail loot templates. DB table `mail_loot_template` is empty");
|
||||
LOG_WARN("server.loading", ">> Loaded 0 mail loot templates. DB table `mail_loot_template` is empty");
|
||||
|
||||
LOG_INFO("server.loading", " ");
|
||||
}
|
||||
@@ -2205,7 +2205,7 @@ void LoadLootTemplates_Skinning()
|
||||
if (count)
|
||||
LOG_INFO("server.loading", ">> Loaded {} skinning loot templates in {} ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
LOG_ERROR("sql.sql", ">> Loaded 0 skinning loot templates. DB table `skinning_loot_template` is empty");
|
||||
LOG_WARN("server.loading", ">> Loaded 0 skinning loot templates. DB table `skinning_loot_template` is empty");
|
||||
|
||||
LOG_INFO("server.loading", " ");
|
||||
}
|
||||
@@ -2249,7 +2249,7 @@ void LoadLootTemplates_Spell()
|
||||
if (count)
|
||||
LOG_INFO("server.loading", ">> Loaded {} spell loot templates in {} ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
LOG_ERROR("sql.sql", ">> Loaded 0 spell loot templates. DB table `spell_loot_template` is empty");
|
||||
LOG_WARN("server.loading", ">> Loaded 0 spell loot templates. DB table `spell_loot_template` is empty");
|
||||
LOG_INFO("server.loading", " ");
|
||||
}
|
||||
|
||||
@@ -2268,7 +2268,7 @@ void LoadLootTemplates_Player()
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG_ERROR("sql.sql", ">> Loaded 0 player loot templates. DB table `player_loot_template` is empty");
|
||||
LOG_WARN("server.loading", ">> Loaded 0 player loot templates. DB table `player_loot_template` is empty");
|
||||
}
|
||||
|
||||
LOG_INFO("server.loading", " ");
|
||||
|
||||
Reference in New Issue
Block a user