Indirect temperature measurements for Tl signal loss during drilling