<div dir="ltr">I finally had some time to re-synch the ResPower blender tracing patch with the latest SVN.&nbsp; This is the patch that ResPower uses to provide progress information in its render logs, since viewing render nodes&#39; desktops is expensive compared to sending a few lines of text to a customer&#39;s web browser.<br>
<br>The way it works is that it exposes a new python API whereby a script can request that Blender send trace messages to a python function.&nbsp; On the ResPower farm, the python function simply prints the output to the console, and the farm management software reads the console and saves the output to the log.<br>
<br>The instrumentation here is mainly rendering-centric, but the patch can be extended to support other portions of the code as well.&nbsp; This would be useful, for example, to have end-users generate a log file to track down difficult-to-reproduce bugs.&nbsp; (e.g., &quot;run this script, email me the log file when the bug occurs!&quot; )<br>
<br>I would really like to get this patch into the trunk so that we can start to provide support for the official releases of Blender more quickly (download and deploy, as opposed to download, patch, build, and deploy), and also so we can add support for the svn version of Blender for our more advanced users.&nbsp; We can&#39;t do this now as patching the files every day would be a major hassle.<br>
<br>The default behavior should be indisginquishable from not having the patch, i.e., you should only notice a difference if you turn on the functionality from python.&nbsp; See /source/tools/test-blender-trace.py for an example of using it.<br>
<br>-- Early Ehlinger, President, ResPower, Inc.<br></div>