The SP log involves a single moving electrode in the borehole and a reference electrode, usually located at the surface in the mud pit.