Add pid to log