[Qgis-developer] QgisLogger can be a serious bottleneck

G. Allegri giohappy at gmail.com
Sat Jul 5 02:15:23 PDT 2014


I meant QgsMessageLog, not QgsLogger...


2014-07-05 10:27 GMT+02:00 G. Allegri <giohappy at gmail.com>:

> 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.
>
> Debugging pointed me to the problem: QgsVectoFileWriter was logging tons
> of empty geometres with an incompatible type which will be discarded.
> After commenting the line of logging the process completed in linear time.
>
> 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.
> Is it already there and I missed it?
>
> giovanni
>



-- 
Giovanni Allegri
http://about.me/giovanniallegri
Twitter: https://twitter.com/_giohappy_
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140705/20cfe9d2/attachment-0001.html>


More information about the Qgis-developer mailing list