added logging during build/stage