fix a bug with the ProcessLogger during the refresh of PIDS