Log build to file.