From c7d99bf28f80a36ace1e0f08929e6c68986ff3bf Mon Sep 17 00:00:00 2001
From: Joshua Harlow <harlowja@yahoo-inc.com>
Date: Mon, 1 Dec 2014 21:14:23 -0800
Subject: [PATCH] Show what the threshold is being increased to

Change-Id: I2182ca88126d636970885fe4403779a879f32aa7
---
 oslo/messaging/_drivers/amqpdriver.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/oslo/messaging/_drivers/amqpdriver.py b/oslo/messaging/_drivers/amqpdriver.py
index 5a522d92f..454b513d1 100644
--- a/oslo/messaging/_drivers/amqpdriver.py
+++ b/oslo/messaging/_drivers/amqpdriver.py
@@ -172,8 +172,9 @@ class ReplyWaiters(object):
         self._queues[msg_id] = queue
         if len(self._queues) > self._wrn_threshold:
             LOG.warn('Number of call queues is greater than warning '
-                     'threshold: %d. There could be a leak.',
-                     self._wrn_threshold)
+                     'threshold: %d. There could be a leak. Increasing'
+                     ' threshold to: %d', self._wrn_threshold,
+                     self._wrn_threshold * 2)
             self._wrn_threshold *= 2
 
     def remove(self, msg_id):