COOK-1270 Adding support for log flag to create output in cache folder.