ldetect logging