CLOUDIFY-2370 added logging and fixed typo