clean up log files for --job and --regtest