Parameterize more logging.