Delete useless logs