delete unuseful logs