summaryrefslogtreecommitdiff
path: root/http/http_client.hpp
diff options
context:
space:
mode:
authorCarson Labrado <clabrado@google.com>2023-08-10 03:37:06 +0300
committerEd Tanous <ed@tanous.net>2023-08-14 22:11:31 +0300
commitbf2ddede1c5f68f81ece754f511aefdafcdb2815 (patch)
tree792cc6e231e64724a8bbcf37fbe93c1c405eacaa /http/http_client.hpp
parent445fce0c3fa5385c5e712ab027a98670ca64e7d1 (diff)
downloadbmcweb-bf2ddede1c5f68f81ece754f511aefdafcdb2815.tar.xz
Reduce some Error log severities
There are instances of ERROR logs that would work better as WARNING or DEBUG since they do not actually result in bailing early and returning an error response. Signed-off-by: Carson Labrado <clabrado@google.com> Change-Id: I1e7bca0bb38487b26a4642ab72ce475170bb53c6
Diffstat (limited to 'http/http_client.hpp')
-rw-r--r--http/http_client.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/http_client.hpp b/http/http_client.hpp
index 71fb885551..e1c4d374eb 100644
--- a/http/http_client.hpp
+++ b/http/http_client.hpp
@@ -766,7 +766,7 @@ class ConnectionPool : public std::enable_shared_from_this<ConnectionPool>
}
else if (requestQueue.size() < maxRequestQueueSize)
{
- BMCWEB_LOG_ERROR(
+ BMCWEB_LOG_DEBUG(
"Max pool size reached. Adding data to queue.{}:{}", destIP,
std::to_string(destPort));
requestQueue.emplace_back(std::move(thisReq), std::move(cb));