Gerikes
User of Run-on Sentences.
Thanks for your post.
I ended up trying this code in the close function:
Code:CvUtil.pyPrint(self.log) + self.log
Now the OOSlog information (160 MB for one turn!) is written to the pythonDebug filebut at the same time it is also causing a python exception
Code:TypeError: unsupported operand type(s) for +: 'NoneType' and 'unicode' ERR: Python function onEvent failed, module CvEventInterface
I guess just remove one of them and see what happens.
Try CvUtil.pyPrint(self.log) all by itself (I'm assuming CvUtil.pyPrint is an actual function

It looks like you have
Code:
CvUtil.pyPrint(self.log)
But yes, hopefully that gets you the log files printed out.