move logging message into primer_dict()