Tweaks to logging.