Skip to content

Commit 9118427

Browse files
authored
Change the 'debug' log statement when a connection is grabbed from a connectionpool to 'trace' (#88)
1 parent 26299c0 commit 9118427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/RediStack/ConnectionPool/ConnectionPool.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ extension ConnectionPool {
381381
// that yet, so double-check. Leave the dead ones there: we'll get them later.
382382
while let connection = self.availableConnections.popLast() {
383383
if connection.isConnected {
384-
logger.debug("found available connection", metadata: [
384+
logger.trace("found available connection", metadata: [
385385
RedisLogging.MetadataKeys.connectionID: "\(connection.id)"
386386
])
387387
self.leaseConnection(connection, to: waiter)

0 commit comments

Comments
 (0)