Improve the build log file handling
Improve the build log file handling

With this patch, the build process log will be captured and save
at the profile root and named build.log

litong01/fabric-deploy,litong01/fabric-deploy