better logging during build