log pid.