Log pid contents as string