Added logger.stop()