COOK-1270 Adding support for log flag to create output in cache folder.
Fixing attribute name
Merge branch 'COOK-1270'