delete cache & log