add logs and tmp dir