Add logs to tox pip commands and refine tmp dirs.