Better tmp logging.