Fixed #880. nullify connection logger.