Add curl logging to tmp file