delete useless logs