I've some python scripts running on my VC that are called from startup events and stay there and these scripts generate some output using the print function, which normally prints text to Python's console and in this case it prints te text to somewhere else (a variable perhaps?) which is then displayed in the log field of the Python plugin (txtConsole).
Well, since my py script is currently generating lots of output, it seems this log area is becoming weighty for VC and the overall VC performance is significantly decreased after some time of operation.
I let it running yesterday before I went to bed, and this morning I had to clear that log area (by using the clear log button) at least 5 times sequentially. I pressed the button once, then the log area immediately became full again, and then I pressed the clear log button again. Did that 5 times until the log area finally became empty and then the VC returned to normal performance.
So it would be great if the oldest log data could be dynamically discarded before it affects the performance. Of course, in the future I'll also disable many of these prints in the code because they are there for debugging purposes only. But anyway, I guess this slow down in performance could be avoided if I can manage to clear that log either by code or automatically.
Is it possible?
Btw, I love that log area! It is a must have for debugging python scripts.
Thanks