It's not possible to disable the log for only one part of the script. What that log does is to follow each line of the script as it is executed and write into a text file as the example you posted above. So you either allow document log generation or disable it, but not for some parts.
However, you can create a logging application that, from a given log, it only extracts parts that you could be more interested in into a QlikView application.