Add logging info when creating a connection