Something like log.exception("Encountered exception from rescore: student '{0}' problem '{1}'".format(unique_string_identifier, module_state_key)