rm tmp and log for digua