From d296609c76e3c5843975cd466c9bb966b98cf126 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 22 Mar 2016 23:30:14 +0800 Subject: [PATCH] msg/async: avoid log spam on throttle increase the log level from 1 to 10, the log is printed when message throttler kicks in. Fixes: #15031 Signed-off-by: Kefu Chai --- src/msg/async/AsyncConnection.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/msg/async/AsyncConnection.cc b/src/msg/async/AsyncConnection.cc index 561d9f54f3dc6..611e49890b1f0 100644 --- a/src/msg/async/AsyncConnection.cc +++ b/src/msg/async/AsyncConnection.cc @@ -669,9 +669,9 @@ void AsyncConnection::process() << policy.throttler_messages->get_current() << "/" << policy.throttler_messages->get_max() << dendl; if (!policy.throttler_messages->get_or_fail()) { - ldout(async_msgr->cct, 1) << __func__ << " wants 1 message from policy throttle " - << policy.throttler_messages->get_current() << "/" - << policy.throttler_messages->get_max() << " failed, just wait." << dendl; + ldout(async_msgr->cct, 10) << __func__ << " wants 1 message from policy throttle " + << policy.throttler_messages->get_current() << "/" + << policy.throttler_messages->get_max() << " failed, just wait." << dendl; // following thread pool deal with th full message queue isn't a // short time, so we can wait a ms. if (register_time_events.empty()) -- 2.39.5