Skip to content

Commit 279fb25

Browse files
committed
Change queue logging to verbose.
1 parent 26eaca4 commit 279fb25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/net/proxy.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ void proxy::do_write(const asio::const_buffer& payload,
283283
total_ = ceilinged_add(total_.load(), payload.size());
284284
backlog_ = ceilinged_add(backlog_.load(), payload.size());
285285

286-
LOGX("Queue for [" << endpoint() << "]: " << queue_.size()
286+
LOGV("Queue for [" << endpoint() << "]: " << queue_.size()
287287
<< " (" << backlog_.load() << " of " << total_.load() << " bytes)");
288288

289289
// Start the loop if it wasn't already started.
@@ -322,7 +322,7 @@ void proxy::handle_write(const code& ec, size_t bytes,
322322
backlog_ = floored_subtract(backlog_.load(), queue_.front().first.size());
323323
queue_.pop_front();
324324

325-
LOGX("Dequeue for [" << endpoint() << "]: " << queue_.size()
325+
LOGV("Dequeue for [" << endpoint() << "]: " << queue_.size()
326326
<< " (" << backlog_.load() << " backlog)");
327327

328328
// All handlers must be invoked, so continue regardless of error state.

0 commit comments

Comments
 (0)