Improved logging for cancelling a build.