add pid to log