Change few loglines severity and channel (#517)

Fix #516
This commit is contained in:
Alex Kremer
2023-02-20 11:14:05 +00:00
committed by GitHub
parent f0555af284
commit 9fa26be13a
2 changed files with 5 additions and 4 deletions

View File

@@ -122,6 +122,7 @@ class HttpBase : public util::Taggable
send_lambda lambda_;
protected:
clio::Logger log_{"WebServer"};
clio::Logger perfLog_{"Performance"};
boost::beast::flat_buffer buffer_;
bool upgraded_ = false;
@@ -292,8 +293,8 @@ public:
"Server is overloaded"));
}
perfLog_.debug() << tag() << "Received request from ip = " << *ip
<< " - posting to WorkQueue";
log_.info() << tag() << "Received request from ip = " << *ip
<< " - posting to WorkQueue";
auto session = derived().shared_from_this();

View File

@@ -316,8 +316,8 @@ public:
try
{
perfLog_.debug()
<< tag() << "ws received request from work queue : " << request;
log_.info() << tag()
<< "ws received request from work queue : " << request;
auto range = backend_->fetchLedgerRange();
if (!range)