Delete log and cache