Use logs instead of attach for builder Upstream-commit: 3c325f89e544415bafc23006ead0bdc21cab2f61 Component: engine