log self pid