From f063801c48c5bda561355c0a29b50e332b417f50 Mon Sep 17 00:00:00 2001 From: Brett Wooldridge Date: Tue, 14 Jul 2015 23:34:38 +0900 Subject: [PATCH] Minor logging cleanup. --- src/main/java/com/zaxxer/hikari/pool/PoolElf.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zaxxer/hikari/pool/PoolElf.java b/src/main/java/com/zaxxer/hikari/pool/PoolElf.java index f6a7278f..7f4d5112 100644 --- a/src/main/java/com/zaxxer/hikari/pool/PoolElf.java +++ b/src/main/java/com/zaxxer/hikari/pool/PoolElf.java @@ -366,7 +366,7 @@ public final class PoolElf catch (Throwable e) { if (isQueryTimeoutSupported == UNINITIALIZED) { isQueryTimeoutSupported = FALSE; - LOGGER.debug("{} - Statement.setQueryTimeout() failed or is not supported ({})", poolName, e.getMessage()); + LOGGER.debug("{} - Statement.setQueryTimeout() is not supported ({})", poolName, e.getMessage()); } } } @@ -391,8 +391,8 @@ public final class PoolElf } catch (Throwable e) { if (isNetworkTimeoutSupported == UNINITIALIZED) { - LOGGER.debug("{} Connection.setNetworkTimeout() not supported", poolName); isNetworkTimeoutSupported = FALSE; + LOGGER.debug("{} Connection.setNetworkTimeout() not supported ({})", poolName, e.getMessage()); } } }