Adjust buildd/functions.sh for new logging