From c490ff60ddd42df5c8ad92677f6862bf5c2f0319 Mon Sep 17 00:00:00 2001 From: Alan Chandler Date: Sat, 13 Feb 2016 10:43:49 +0000 Subject: [PATCH] Add debug log to acquiring a connection (cherry picked from commit 3c3ad7f0199fc2f42aa50c8a35cbccbdbb2c8ff4) --- lib/connection-pool.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/connection-pool.js b/lib/connection-pool.js index 13dfaf9..ba169da 100755 --- a/lib/connection-pool.js +++ b/lib/connection-pool.js @@ -211,6 +211,7 @@ function setUsed(pooled, waiter) { clearTimeout(waiter.timeout); waiter.timeout = undefined; } + this.log('acquired connection ' + pooled.id); waiter.callback(null, pooled.con); }