Allow a logger to be set for the connection testing