Revert "add a log file for deployment"

This reverts commit bdc2bb115a645910ea3190f9907c62cb28627c71.
Revert "Revert "add a log file for deployment""

This reverts commit 0c3c3a7e618eebe990a351e93b4f0d59048f36ea.
Added a log for deployment and corrected a missplaced semicolon