Cleanup messageFormatter example to use logs from build steps instead of directly using build logs

Rebased to branch 'eight' instead of master