When logging PRIM commands, print the prim number