Skip to content

Commit

Permalink
Only log 'Connection not added' when connection not added
Browse files Browse the repository at this point in the history
  • Loading branch information
jgchristian authored and lfbayer committed Jan 24, 2024
1 parent 3990d25 commit 0a6ccdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/zaxxer/hikari/pool/HikariPool.java
Expand Up @@ -739,7 +739,7 @@ public Boolean call()
finally {
if (added && loggingPrefix != null)
logPoolState(loggingPrefix);
else
else if (!added)
logPoolState("Connection not added, ");
}

Expand Down

0 comments on commit 0a6ccdb

Please sign in to comment.