Test PID logging