The deflection of the drilling trajectory is very common in the underground construction of mines, and the position of the drilling hole cannot be accurately grasped. Logging and analysis of drilling with a logging analyzer, which can quickly complete video, natural gamma, and trajectory (azimuth, inclination) data collection in the coal mine at once, and processing software on the ground can perform efficient data processing, automatically export drilling trajectory plan, drilling trajectory profile, video core map and other achievements. The lithology judgment analysis of this technology in the floor of Rongtai Mine roadway was taken as an example, the practicality of this technology was verified.