log build process, migrate to subprocess