keep log and tmp