send log and cache