Patcg paths for pid and log files.