Added the app name to the start of the pid and log files