logging build steps to db