Skip to content

Commit a848575

Browse files
committed
Trace Connection used in log debug
1 parent 2014824 commit a848575

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cluster/cluster_get.go

+1
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ func (cluster *Cluster) GetConnections() int {
247247
for _, server := range cluster.Servers {
248248
if server != nil {
249249
if conns, ok := server.Status["THREADS_RUNNING"]; ok {
250+
cluster.LogPrintf(LvlDbg, "Reading connections on server: %s ,%s", server.URL, server.Status["THREADS_RUNNING"])
250251
numconns, _ := strconv.Atoi(conns)
251252
allconns += numconns
252253
}

0 commit comments

Comments
 (0)