Log to /tmp and copy afterwards