switched log dir to /tmp.