Mud logging is the real-time surface monitoring of drilling parameters, formation cuttings, and mud gas to safeguard well control, guide drilling decisions, and characterize formations at lowest cost.