create cache folder before start logging