Turning off logging by default and making async logging.