add sh and pid log