delete bad logs.