Slightly improve logging.