Minor tweaks to logging.