added logging to connection pool