thread safe log & auto delete timeout cache file