fix log output dir /tmp -> /var/log