From 9c1b996b47c35f603ba5001f9444aae8b1fa59b7 Mon Sep 17 00:00:00 2001 From: Emagi Date: Wed, 20 Aug 2025 11:57:41 -0400 Subject: [PATCH] set logging level for player broker to debug level --- source/WorldServer/Broker/BrokerManager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/WorldServer/Broker/BrokerManager.cpp b/source/WorldServer/Broker/BrokerManager.cpp index ae9568b..0e6f127 100644 --- a/source/WorldServer/Broker/BrokerManager.cpp +++ b/source/WorldServer/Broker/BrokerManager.cpp @@ -516,7 +516,7 @@ vector* BrokerManager::GetItems( for (auto const& kv : char_pair.second) { auto const& itm = kv.second; - LogWrite(PLAYER__ERROR, 5, "Broker", + LogWrite(PLAYER__DEBUG, 5, "Broker", "--GetItems: %u (selling: %u), allowinv: %u", itm.unique_id, itm.for_sale, allowInv ); @@ -525,7 +525,7 @@ vector* BrokerManager::GetItems( Item* def = master_item_list.GetItem(itm.item_id); if (!def) continue; - LogWrite(PLAYER__ERROR, 5, "Broker", + LogWrite(PLAYER__DEBUG, 5, "Broker", "--GetItems#1: %u (selling: %u), allowinv: %u", itm.unique_id, itm.for_sale, allowInv ); @@ -535,7 +535,7 @@ vector* BrokerManager::GetItems( if (ltype!=ITEM_BROKER_SLOT_ANY && !master_item_list.ShouldAddItemBrokerSlot(def, ltype)) continue; if (btype!=0xFFFFFFFF && !master_item_list.ShouldAddItemBrokerStat(def, btype)) continue; - LogWrite(PLAYER__ERROR, 5, "Broker", + LogWrite(PLAYER__DEBUG, 5, "Broker", "--GetItems#2: %u (cost_copper: %u), seller: %s", itm.unique_id, itm.cost_copper, seller.c_str() ); @@ -547,7 +547,7 @@ vector* BrokerManager::GetItems( if(maxtier > 0 && def->details.tier > maxtier) continue;*/ - LogWrite(PLAYER__ERROR, 5, "Broker", + LogWrite(PLAYER__DEBUG, 5, "Broker", "--GetItems#3: %u (selling: %u), allowinv: %u", itm.unique_id, itm.for_sale, allowInv ); @@ -571,7 +571,7 @@ vector* BrokerManager::GetItems( continue; } - LogWrite(PLAYER__ERROR, 5, "Broker", + LogWrite(PLAYER__DEBUG, 5, "Broker", "--GetItemsPass: %u (selling: %u), allowinv: %u", itm.unique_id, itm.for_sale, allowInv );