Added logging to /tmp