rm logs and cache