clearing useless logs