Log processes' PIDs properly