Recover correct log name.