diff --git a/src/main/java/redis/clients/jedis/ConnectionFactory.java b/src/main/java/redis/clients/jedis/ConnectionFactory.java index b7af747093..9df2ac25e3 100644 --- a/src/main/java/redis/clients/jedis/ConnectionFactory.java +++ b/src/main/java/redis/clients/jedis/ConnectionFactory.java @@ -54,12 +54,12 @@ public void destroyObject(PooledObject pooledConnection) throws Exce jedis.quit(); } } catch (RuntimeException e) { - logger.warn("Error while QUIT", e); + logger.debug("Error while QUIT", e); } try { jedis.close(); } catch (RuntimeException e) { - logger.warn("Error while close", e); + logger.debug("Error while close", e); } } } @@ -76,12 +76,12 @@ public PooledObject makeObject() throws Exception { try { jedis.quit(); } catch (RuntimeException e) { - logger.warn("Error while QUIT", e); + logger.debug("Error while QUIT", e); } try { jedis.close(); } catch (RuntimeException e) { - logger.warn("Error while close", e); + logger.debug("Error while close", e); } } throw je; diff --git a/src/main/java/redis/clients/jedis/JedisFactory.java b/src/main/java/redis/clients/jedis/JedisFactory.java index fcce26025c..cd55e5168c 100644 --- a/src/main/java/redis/clients/jedis/JedisFactory.java +++ b/src/main/java/redis/clients/jedis/JedisFactory.java @@ -164,12 +164,12 @@ public void destroyObject(PooledObject pooledJedis) throws Exception { jedis.quit(); } } catch (RuntimeException e) { - logger.warn("Error while QUIT", e); + logger.debug("Error while QUIT", e); } try { jedis.close(); } catch (RuntimeException e) { - logger.warn("Error while close", e); + logger.debug("Error while close", e); } } } @@ -186,12 +186,12 @@ public PooledObject makeObject() throws Exception { try { jedis.quit(); } catch (RuntimeException e) { - logger.warn("Error while QUIT", e); + logger.debug("Error while QUIT", e); } try { jedis.close(); } catch (RuntimeException e) { - logger.warn("Error while close", e); + logger.debug("Error while close", e); } } throw je;