Changed the temporary log directory from /tmp to /scratch to prevent large log files from filling tmp.