A few changes in logging.