Restore the use of pool parameters when building connection, and log the parameters