From e6db3c01bdb462bcc75d3df6defd7ed9327c7448 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Tue, 13 Jan 2015 13:03:29 +0300 Subject: [PATCH] Removed annoying debug logs --- base/resource_pool.hpp | 2 -- base/threaded_list.hpp | 4 ---- 2 files changed, 6 deletions(-) diff --git a/base/resource_pool.hpp b/base/resource_pool.hpp index 301536871c..9f4328f140 100644 --- a/base/resource_pool.hpp +++ b/base/resource_pool.hpp @@ -186,7 +186,6 @@ struct AllocateOnDemandMultiThreadedPoolTraits : TBase if (l.empty()) { m_poolSize += base_t::m_factory.ElemSize() * base_t::m_factory.BatchSize(); - LOG(LDEBUG, ("allocating ", base_t::m_factory.ElemSize(), "bytes for ", base_t::m_factory.ResName(), " on-demand, poolSize=", m_poolSize / base_t::m_factory.ElemSize(), ", totalMemory=", m_poolSize)); for (unsigned i = 0; i < base_t::m_factory.BatchSize(); ++i) l.push_back(base_t::m_factory.Create()); } @@ -230,7 +229,6 @@ struct AllocateOnDemandSingleThreadedPoolTraits : TBase if (l.empty()) { m_poolSize += base_t::m_factory.ElemSize() * base_t::m_factory.BatchSize(); - LOG(LDEBUG, ("allocating", base_t::m_factory.BatchSize(), "elements for ", base_t::m_factory.ResName(), "on-demand, poolSize=", m_poolSize / base_t::m_factory.ElemSize(), ", totalMemory=", m_poolSize)); for (unsigned i = 0; i < base_t::m_factory.BatchSize(); ++i) l.push_back(base_t::m_factory.Create()); } diff --git a/base/threaded_list.hpp b/base/threaded_list.hpp index 80cedfe576..fc5f673a64 100644 --- a/base/threaded_list.hpp +++ b/base/threaded_list.hpp @@ -86,11 +86,7 @@ public: break; if (doFirstWait) - { doFirstWait = false; - if (!m_resName.empty()) - LOG(LDEBUG, ("consumer is waiting for", m_resName)); - } m_Cond.Wait(); }