Fix very long build reports

Note that I've removed the printing of config to the build log...because it wasn't making it in there anyway - the second cat overwrote rather than appended.

If you want to add the config as well, might be worth double checking there's no sensitive information in any existing modules that might get printed.