use /tmp for log