save build log when input stream completes