Minor adjustments to logging.