Moving connect log methods back into connect method