add pid to logged info