add pid for log