<div dir="ltr">I meant QgsMessageLog, not QgsLogger...</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-05 10:27 GMT+02:00 G. Allegri <span dir="ltr"><<a href="mailto:giohappy@gmail.com" target="_blank">giohappy@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">As I reported in a previous post, I was unable to conclude a difference operation on a vector because the tool was running in exponential time.<br>

 <br>
Debugging pointed me to the problem: QgsVectoFileWriter was logging tons of empty geometres with an incompatible type which will be discarded. <br>
After commenting the line of logging the process completed in linear time. </p>
<p dir="ltr">Shouldn't we offer the opportunity to turn QgsLogger off? This would let the user/developer to switch it off whenever he already knows what's happening. <br>
Is it already there and I missed it? </p>
<p dir="ltr">giovanni</p>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a><div>Twitter: <a href="https://twitter.com/_giohappy_" target="_blank">https://twitter.com/_giohappy_</a></div>
<div>blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a></div></div>
</div>